Hi,
How can i add a NavigationBar with a NavigationBarItem in a NavigationController, such that when i push my navigationItem i should get my previous view without using Interface Builder in Objective-C
Hi,
How can i add a NavigationBar with a NavigationBarItem in a NavigationController, such that when i push my navigationItem i should get my previous view without using Interface Builder in Objective-C
There is no need to programmatically add a NavigationBarItem
for the back-button. This will be automatically added to the UINavigationBar
by the framework itself. Simply provide a value for your title
property of your base view an you'll see a matching button in the pushed navigation view.