On navigating to any view in an app which has navigation controller implemented, it shows a back button to go to the previous view. Is there a way I can use custom image instead of the default one?
views:
641answers:
1
+2
A:
Yes you can. Just create your own UIBarButtonItem and set it as the leftButtonItem on the navigation bar
UIBarButtonItem *btn = [[UIBarButtonItem alloc] initWithImage:yourImage style:UIBarButtonItemStyleBordered target:self action:@selector(yourMethod:)];
self.navigationItem.leftBarButtonItem = btn;
[btn release];
lostInTransit
2009-07-31 22:08:15