An important "method" for iPhone navigation controllers"
The following text is reproduced from: http://c.gzl.name/archives/tag/navigationcontroller
Navigation controller is one of the most important iPhone components. The following are some "key methods"
1. pushviewcontroller:Viewcontroller animated:Bool
(Load View Controller)
-Add and display the specified view controller, followed by: whether the view is animated
2. popviewcontrolleranimated:Bool
(The current view controller is displayed)
-The previous view is displayed on the left.
3. poptoviewcontroller:Viewcontroller animated:Bool
(To the specified View Controller)
-Return to the specified view controller, that is, not only one
4. poptorootviewcontrolleranimated:Bool
(To the Root View Controller)
-For example, if you have a "home" key, this method may be implemented.
5. setnavigationbarhidden:BoolAnimated:Bool
(Set whether the navigation bar is displayed)
-If you want to hide the navigation bar, this is the place.