iphone - Back button on UINavigationController -


I know that it may look strange, but I must first add a back button to the navigation bar of navigation. Like tried:

  UIBarButtonItem * backButton = [[UIBarButtonItem alloc] initWithTitle: @ "Foo" Style: UIBarButtonItemStyleBordered Target: Self-action: @selector (foo :)]; Self.navigationItem.backBarButtonItem = backButton;  

If the backbuttonment button is left I left the barbuttonium on the back. My problem is that I need an arrow button as the normal back button. Is it possible?

Usually it works out of the box, but sometimes with original ideas / verb forms You may need this to press your navigation controller on the stack before prompting your view controller and try it,

  UIBarButtonItem * newBackButton = [[UIBarButtonItem alloc] initWithTitle: @ "Back" style : UIBarButtonItemStyleBordered Target: Zero Action: Zero]; [[Self Navigation Itam] Setback Button: New Backbutt]; [Newback Button Release]; DetailViewController * detailVC = [[DetailViewController alloc] init]; [Self. Push Navigation Controller ViewController: animated detailVC: Yes]; [DetailVC release];  

Comments