开发者

pushviewcontroller iPhone sdk - changing views UITabBar

开发者 https://www.devze.com 2023-03-14 09:56 出处:网络
I have a uitabbar application, and I would like to hide the UITabbar whenever a viewcontroller slides in (it is a tableview so whenever a row is tapped).

I have a uitabbar application, and I would like to hide the UITabbar whenever a viewcontroller slides in (it is a tableview so whenever a row is tapped).

I w开发者_如何学Pythonould like the tab bar to hide whenever a viewcontroller is pushed and would like the entire screen to be covered with this new view like in iPod application of iPhone.


Just set the UIViewController hidesBottomBarWhenPushed proprety to YES before you push the viewcontroller.

viewController.hidesBottomBarWhenPushed = YES;
0

精彩评论

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

关注公众号