Home Tutorial Iphone Examples UINavigationController Set Title - iPhone

 
 

Share on Google+Share on Google+
UINavigationController Set Title - iPhone
Posted on: April 17, 2010 at 12:00 AM
Advertisement
This UINavigation example exhibits how to set Title to the Navigation Bar. The reason behind setting title for UINavigation bar is to present the data in more efficient and user convenient way.

UINavigationController Set Title - iPhone

This UINavigation example exhibits how to set Title to the Navigation Bar. The reason behind setting title for UINavigation bar is to present the data in more efficient and user convenient way. If the Title is specific, user can easily navigate through the application.

For example - On selecting the item from the list, it shows you the detail view of that item and if that detail view has the same time on the top of the navigation bar as it has in the item list.. makes easy to get it. Isn't it? That is the only reason why we set Title for UINavigation Items. To set the title all you need to do is just copy and paste the given code in ViewDidLoad method and build your application.

self.navigationItem.title = @"List View";

Images from Example...


Apart from it you can do lots of things to UINavigation bars such as .. adding buttons(back & edit), setting images etc..

Download Code

Advertisement

Related Tags for UINavigationController Set Title - iPhone:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 17, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com