strange behavior when changing UINavigationController backItem title

Posted by Rafael on Stack Overflow See other posts from Stack Overflow or by Rafael
Published on 2010-06-16T16:37:35Z Indexed on 2010/06/16 16:42 UTC
Read the original article Hit count: 302

Hi,

I'm changing the back button item title in the viewDidAppear of a controller in the following way:

self.navigationController.navigationBar.backItem.title = @"Previous";

It changes the tittle properly, but the I'm having a strange behaviour. When I select the "previous" button, it changes the tittle of the controller that is up in the stack (i.e the parent controller now has the title "Previous".

Do you now why this happened ???

Thanks in advanced for your help.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uinavigationcontroller