Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Fontano

macrumors member
Original poster
Jun 27, 2008
72
0
In my first screen, I have my Navigation Bar hidden.

After the next screen transitions on (via the standard push, slide from the right). I want to show the Navigation Bar again.

If I set the Hidden Property to NO, with animation.
It does show it again, but it does it BEFORE the animation is complete of the screen transition.

How could I go about calling the Hidden Property (to no), after the transition is complete?

NSTimer? or is there an event already built in.
 

dean1012

macrumors regular
Jul 10, 2008
130
1
hmm

I'm not sure I understand your situation correctly, but I believe the solution is simple.

Implement viewDidAppear for the second view. Inside viewDidAppear, show the navigation bar.

If you are pushing the second view to the hidden navigation controller, you should be able to access it in the second view via [self navigationController].

Also note that in order for viewDidAppear to be called, it must have been received by the navigation controller.
 

Fontano

macrumors member
Original poster
Jun 27, 2008
72
0
Thank you, that was exactly the solution I was looking for.

I was making the Navigation Bar, unhidden in the viewDidLoad functions.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.