开发者

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜