ios - ios7 navigation bar : 3 strange dots appearing when back animation with custom button -


I want to use the back navigation animation by using .navigationController PopViewControllerAnimated: Yes]

A custom button has been added in the navigation bar.

Because I should not see the back button, I made it self. Navigation Itam.Highsback Button = Yes;

But during the previous animation, sliding can be seen in ios7 (not ios6) 3 dots navigation bar. They are not appearing with self.navigationItem.hidesBackButton = No;. But definitely the button can be seen

Does anyone have any ideas to make them visible?

You set

  self.navigationItem.hidesBackButton = Yes   

iOS sometimes Inserts three points inside its generic back button. I solved the problem by setting the normal back button empty text and then I made my custom button

  UIBarButtonItem * backButton2 =: This is the blank I How the set is set [[UIBarButtonItem alloc] initWithTitle: @ "" style: UIBarButtonItemStylePlain target: zero operation: zero]; Self.navigationItem.backBarButtonItem = backButton2;   

And then I created my custom UIButton and placed it where I wanted it like this:

  UIButton * backButton = [[UIButton alloc] initWithFrame : CGRectMake (5, 70 / 2-22, 44, 44)]; [BackButton setImage: [[UIImage imageNamed: @ "back_button.png"] imageWithRenderingMode: UIImageRenderingModeAlwaysTemplate] forState: UIControlStateNormal]; BackButton.tintColor = tintColor; BackButton.imageEdgeInsets = UIEdgeInsetsMake (-2, -15, 0, 0); [BackButton addTarget: Self-action: Control: Control for the @Collector (PopcountView Controller): UIControlViewTouchup Inside];    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -