在 Interface Builder 中创建的 UITabBarController - “更多”和“编辑”选项卡重新排序不起作用
我在 Interface Builder 中配置了一个 UITabBarController 作为我的主应用程序界面。它有七个选项卡,可触发 UITabBarController 的“更多”功能。当您选择“更多”视图时,您还会看到“编辑”按钮,允许用户配置选项卡的顺序。但是,当您单击“编辑”时,我实际上无法对选项卡重新排序;拖动图标似乎没有影响。
这应该有效吗?这是使用 Interface Builder 配置 UITabBarController 而不是以编程方式构建它的副产品吗?
请注意,我在“编辑”重新排序面板中看到了所有选项卡,它们也都包含在“customizedViewControllers”中。
I've got a UITabBarController configured in Interface Builder as my main application interface. It has seven tabs, which triggers the "More" functionality of UITabBarController. When you select the "More" view, you get the "Edit" button as well, allowing the user to configure the order of the tabs. However, when you click "Edit", I can't actually reorder the tabs; dragging the icons around doesn't seem to have an affect.
Should this work? Is this a by-product of using Interface Builder to configure my UITabBarController, as opposed to building it programmatically?
Just to note, I see all of my tabs in the 'Edit' re-order panel and they are all contained in 'customizableViewControllers' as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许您不熟悉重新排序机制。确保您将项目从顶部区域拖动到选项卡栏本身,而不仅仅是尝试在顶部区域对它们重新排序。
Perhaps you are unfamiliar with the reordering mechanism. Make sure that you are dragging items around from the top area to the tab bar itself, not merely attempting to reorder them in the top area.