Back button title not receiving previous view controller's title

Posted by Prasanna on Stack Overflow See other posts from Stack Overflow or by Prasanna
Published on 2010-03-08T07:26:45Z Indexed on 2010/03/08 7:36 UTC
Read the original article Hit count: 310

I am pushing 2 view controllers in to navigation stack in ApplicationDidFinishLaunching.

[navigationController pushViewController:favorites animated:NO];
[navigationController pushViewController:root animated:NO];

The app loads fine, but on the start screen, the back button title is simply "Back". I do have a title for the FavoritesViewController, and a navigationItem title setup to Favorites.

Am I missing something?

Appreciate your help.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about uinavigationcontroller