Hey there. I'm still pretty new to iPhone development, and I am having problems with how to change the name of my navigation bar. For another question on this site, someone recommended using:
viewController.title = @"title text";
but this does not work for me ... Do I need to add a UINavigationController for this? Or maybe just exit my subclass of UIViewController? If this helps, I defined the navigation bar in IB, and I'm trying to set its title in my subclass of UIViewController. This is another one of those simple things that gives me a headache. Put self.title = @ "header text"; in viewDidLoad and initWithNibName didn't work either. Does anyone know what is going on and how is it going right?
Thank!
objective-c iphone uinavigationitem uinavigationcontroller uinavigationbar
Arthur Skirvin Feb 17 '10 at 12:54 2010-02-17 12:54
source share