开发者

Hide UITabBarController?

I have root view with both tab bar and navigation bar visi开发者_如何学编程ble at the beginning. When the view is moved to the next level, I would like to hide the tab bars, and when the view is moved back, I would like the tab bar visible. Is there any way to do that?


If you're using a UINavigationController to do the pushing, you can use something along these lines.

[newController setHidesBottomBarWhenPushed:YES];
[self.navigationController push...newController animated:YES];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜