Thursday, November 25, 2010

UINavigationController back button custom text

To Change the back button text we need to give in viewDidApper. If you give in viewDidLoad it not work.

- (void)viewDidAppear:(BOOL)animated {
self.navigationController.navigationBar.backItem.title=@"Back";
}


1 comment:

  1. This does not work correctly. It changes the title of the navbar to "Back" when you go back.

    ReplyDelete