tags:

views:

47

answers:

2
  • (void)setHidesBackButton:(BOOL)hidesBackButton animated:(BOOL)animated

can any 1 tell me the meaning of above statement with example?????????????

A: 

Description in documentation:

http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UINavigationItem_Class/Reference/UINavigationItem.html#//apple_ref/occ/instm/UINavigationItem/setHidesBackButton:animated:

Example, which hides the back button but does not animate:

[item setHidesBackButton:YES animated:NO];
Douglas
A: 

it hides the back button in the left side of your navigation bar. but it does not prevent you from going back

please see

sethidesbackbuttonyes

mihirpmehta