/**
Navigation Controller Master :
1. Create a navigation controller
Uinavigationcontroller *nav = [[Uinavigationcontroller alloc] initWithRootViewController:self.viewController];
2.zhan ( all sub-controllers in Zhan)
Self.navigationController.viewControllers;
3. press the controller into the Zhan
[Self.navigationcontroller Pushviewcontroller:second Animated:yes];
4. Eject the controller from the Zhan
1> the Zhan top controller.
5. What the navigation bar displays
bounce back to Zhan top
[Self.navigationcontroller Popviewcontrolleranimated:yes];
Back to Bottom controller (Root controller )
bounce back to the bottom of Zhan
[Self.navigationcontroller Poptorootviewcontrolleranimated:yes];
Back to which man controller
[Self.navigationcontroller PopToViewController:animated:YES];
5. What the navigation bar displays
Zhan Navigationitem Properties of the top controller
Self.navigationItem.title = @ " Hello World";
Self.navigationItem.leftBarButtonItem =[[uibarbuttonitem Alloc]initwithbarbuttonsystemitem: Uibarbuttonsystemitemcamera Target:nil Action:nil];
Set the Back button for the next interface
Self.navigationItem.backBarButtonItem =[[uibarbuttonitem alloc] initwithtitle:@ " back" style: Uibarbuttonitemstyleplain Target:nil Action:nil];
The Navigationitem property of the/zhan top controller determines what is displayed in the navigation bar @
The return key to the left of the navigation bar is determined by the previous key
Self.navigationItem.rightBarButtonItem = [[Uibarbuttonitem alloc]initwithbarbuttonsystemitem: Uibarbuttonsystemitemcompose Target:nil Action:nil];
Self.navigationItem.rightBarButtonItem = [[Uibarbuttonitem alloc]initwithtitle:@ ' settings ' style: Uibarbuttonitemstyledone target:self Action: @selector (clicksetting)];
Do any additional setup after loading the view from its nib.
6.//zhan Top Controller
Self.navigationController.topViewController;
*/