What is the meaning of UINavigation's setHidesBackButton?
- (void)setHidesBackButton:(BOOL)hidesBackBu开发者_运维技巧tton animated:(BOOL)animated
can anyone tell me the meaning of above statement with an example?
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
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];
精彩评论