简体   繁体   English

如何在Xcode 8中的UITabBarController中重新排序关系序列

[英]How to re-order Relationship segues in UITabBarController in Xcode 8

Setup 设定

  • Xcode 8.3.3 Xcode 8.3.3
  • iOS 10 iOS 10

Issue 问题

Once a UITabBarController's segue is linked to a view, it seems the only way to change order (which defines the tab button order) is to delete the segue and create again. 将UITabBarController的segue链接到视图后,似乎更改顺序(定义选项卡按钮顺序)的唯一方法是删除segue并再次创建。 How to re-order without deleting? 如何重新排序而不删除?

eg: 例如:

故事板,例如。

In this case, I want to move the segue to "Settings" at the beginning. 在这种情况下,我想一开始将segue移至“设置”。

It seems that the alternate answer here was the only way without deleting: 似乎这里的替代答案是不删除的唯一方法:

  • Edit the xml and change the order of the segue tags under the collections tag for the tabBarController 编辑XML和改变的顺序segue下标签collections标记为tabBarController

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM