如何隐藏 iPhone 标签栏上的标签
我正在开发一个 iphone 项目,我必须显示一个登录视图,登录后我必须显示一个选项卡栏,所有选项卡显示不同的视图,并且所有视图都有链接到其他视图的控件。所以我想知道我能做些什么,首先我想使用导航控制器,但在阅读一些帖子时,他们建议不要使用包含选项卡栏控制器的导航。所以,我认为我可以使用选项卡栏控制器,第一个选项卡应该是登录选项卡,但我需要在登录时从视图中隐藏选项卡栏,之后我可以使用其他选项卡显示选项卡栏。我不知道是否可能。这就是为什么我需要你的帮助。提前致谢
i'm working on an iphone project and i have to show a login view and after log in i have to show a tab bar, all the tabs show different views and all the views have controls that link to other views. so i was wondering what can i do about it, first i was thinking to work with a navigation controller but while reading some posts they suggest not to work with a navigation that includes a tab bar controller. so, i think i can work with a tab bar controller and the first tab should be the login tab but i need to hide the tab bar from the view while logging in and after that i can show the tab bar with the other tabs. i don't know if it's possible. that's why i need your help. thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需将属性“
hidesBottomBarWhenPushed
”设置为YES。喜欢..You only need to set the property "
hidesBottomBarWhenPushed
" to YES. like..