iPhone Development 101

iPhone 101

Code Tips



In your view controller's viewDidLoad method, call the setTitle method:

[self.navigationItem setTitle:@"Type Tester"];

You can also set the title in Xcode/Interface Builder by double-clicking on the nav bar's title area and typing in the title. Or select the navigation bar and view the attributes inspector on the right panel:

Additional References