将 UITabBar 添加到现有应用程序
我已经完全开发了应用程序。我必须在应用程序中实现 UITabBar ,但不是在 appdelegate 中,而是在其他视图和应用程序中。我必须将它用于离开 Appdelegate & 的所有其他视图。 appdelegate 之后的第一个视图。
有人能告诉我最好的方法2吗?
任何帮助将不胜感激。
I have fully developed application. I have to implement UITabBar
into the application, but not in appdelegate, but in some other view & I have to use it for all other views leaving Appdelegate & 1st view after appdelegate.
Can anybody tell me the best way 2 do it?
Any Help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在这里使用活动视图控制器概念,只需从 UIApplication 获取活动视图控制器并执行操作即可。
You can use active view controller concept here, just fetch active view controller from UIApplication and perform the action.
您只需要推送一个
UITabBarController
。例如,您可以执行类似检查参考的操作:UITabBarController
You just need to push a
UITabBarController
. For example you can do something likeCheck the reference: UITabBarController