views:

25

answers:

1

Sorry for the another newbie question.

I tried to get the back button text value in viewDidLoad but it always displays null when I navigate through controllers.

NSLog(@"-----------> %@ ", self.navigationItem.backBarButtonItem.title);

How to get the back button text value?

A: 

Use self.navigationController.navigationBar.backItem.title :)!

Tim van Elsloo