ios - 在 iOS/Xcode 中将单个 View 转换为选项卡式应用程序

标签 ios xcode

我有几个简单的单一 View 应用程序。我想为一些说明、支持细节等添加一个“信息”选项卡。 最简单的方法是什么?创建新的选项卡式应用程序并复制现有代码,还是编辑当前的单 View 应用程序?如果可能的话,我更愿意。 谢谢。

最佳答案

我使用以下 xCode 菜单选项在 <5 秒内实现了同样的效果:Tab Bar Controller。

enter image description here

我保留了我的 ViewController 类,所以我的 main.storyboard 看起来像这样:

enter image description here

关于ios - 在 iOS/Xcode 中将单个 View 转换为选项卡式应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18461576/

相关文章:

ios - iOS 11 中的导航栏自定义 ImageView 问题

ios - 这是关于 cocoa 足类动物的。我安装 podfile 时发生错误。就像ruby的语法错误一样

objective-c - PresentModalViewController 移除 subview

ios - Xcode 在上传时卡在 "Uploading package to the App Store"阶段

ios - App 在 4 英寸时认为它在 3.5 英寸 iPhone 上运行

objective-c - 需要一个使用字典的随机单词生成器

ios - 如何删除 objective-c 中 TableView 中的多个部分?

ios - 当前的 Parse 电子邮件验证正则表达式模式是什么?

c++ - Xcode 初学者需要帮助开始调试

ios - 从NSMutableArray删除for循环内的对象