views:

55

answers:

2

i want to set an image to the back button of navigation controller

A: 

Just call popViewControllerAnimated on the navigation controller and it will go back.

Lou Franco
A: 

You cannot change the default back button since it will not let you override it. Instead you have to use the leftBarButtonItem to create a custom "back" button.

More information here: http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UINavigationController_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006934-CH3-SW25

Some prior code to reference: http://stackoverflow.com/questions/2848381/uinavigation-controller-button-like-backbutton

iWasRobbed