让按钮调用 iOS 上的 UITabBar 应用程序
我正在制作一个具有 UITabBar 的应用程序,它工作得很好,但是我想添加一个包含一些说明和徽标的第一个屏幕,然后是一个按钮,当按下所述按钮时显示 UITabBar 我已经尝试过我自己做了几天,没有运气,我什至不确定是否可以完成,有人可以帮助我吗?或者给我一个线索?
I am making an application that has a UITabBar and it works just fine, however I want to add a first screen which contains some instructions and a logo, then a button and when said button is pressed to show the UITabBar I've tried for a couple of days to do this on my own with no luck, I'm not even sure if it can be done, could anyone help me out? or give me a lead?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试设置选项卡栏应用程序,然后将其上的第一个屏幕显示为 modalViewController。在主应用程序的 viewController 内:
当在模态视图内按下按钮时,调用:
以摆脱它。您可以调整解雇的动画样式,或使用
NO
让它消失。Try setting up the tab bar application, and then showing the first screen over it as a modalViewController. Inside your main app's viewController:
When the button is pressed inside the modal view, call:
to get rid of it. You can adjust the animation style for the dismissal, or use
NO
instead to have it just disappear.