I’m in the coding Objective-C of xcode4.2.
But stopped working on an animated navigation iOS xcode4.2.
The project was reconfigured in xcode4.2 xcode3.x was originally developed.
In the time of reconstruction NewProject “Mastar-Detail Application” is selected.
Basically, the transition of navigation
[self.navigationController pushViewController:newViewController animated:YES];
are using.
What was working in a way that slides horizontally in xcode3.x,
Once you build xcode4.2, eliminating the slide animation
The sister looks like a page changes instantaneously.
Please tell me how to move an animated slide xcode4.2.
Thank you.
Not very clear about the problems your described at beginning. 🙁
But on this question: how to move an animated slide xcode4.2.
Well,
NavigationController‘spushViewController:animated:method has its slide animation if you set theanimatedtoYES. Like the code snippet below:Note: You must push the
ViewControllernot theViewto it.If you want to imitate this slide animation for other views without
Navigation Controller, you can do like this:Note: In this way, the navigationBar’s titleView will not change, you need to change it by yourself if you want.