从视图中删除标签栏
我有一个应用程序,它有许多不同的视图,我可以通过 uitabbar 进行控制。现在,我有一个名为 mainWindow.xib 的 XIB 窗口,在这里我通过界面生成器将每个部分定义到适当的视图控制器。我有一个名为“随机”的视图,我想删除 uitabbar (我需要屏幕上更多的空间),然后在用户不再处于该视图中时再次添加它。我已经看到其他人的一些方法涉及创建数组并从那里删除,但我觉得这不适合我,因为所有视图都是通过界面生成器控制的。
任何建议都会非常有帮助。
先感谢您
I have an app that has many different views that I control through a uitabbar. Now, I have one XIB window called mainWindow.xib and within here I have defined each section to the appropriate view controller via interface builder. I have one view called "random" where I would like to remove the uitabbar (I need more space on the screen) and then add it again once the user is no longer in this view. I have seen some methods by other individuals that refer to creating arrays and removing from there but I feel this is not appropriate for me since all the views are controlled through interface builder.
Any suggestions would be extremely helpful.
Thank you in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论