Changing the UIBackButtonItem title

Posted by Alpinista on Stack Overflow See other posts from Stack Overflow or by Alpinista
Published on 2009-01-31T01:32:59Z Indexed on 2010/03/22 22:51 UTC
Read the original article Hit count: 235

Filed under:

I have a navigationController-based app. I want to change the title of the back button for the root view controller. I have tried the following code in the rootViewController's viewDidLoad method, but no success:

self.navigationItem.backBarButtonItem.title = @"Back";

Any ideas?

© Stack Overflow or respective owner

Related posts about cocoa-touch