移除标签栏后,情节提要仍显示“幽灵"标签栏项目 [英] Storyboard still shows 'ghost' tab bar item after tab bar removal

查看:41
本文介绍了移除标签栏后,情节提要仍显示“幽灵"标签栏项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们当前的项目中,我们有一个标签栏控制器,每个对应的视图都有一个标签栏控制器.最近我们决定使用另一种导航方法,并删除了标签栏控制器.不幸的是,视图中的选项卡栏项在 SB 中似乎无法删除.在正在运行的应用程序中,它们不可见.我们甚至尝试将它们重新连接到标签栏控制器,但无济于事.此外,它们不会出现在文档大纲中.

In our current project we had a tab bar controller, and every corresponding view had a tab bar controller. Lately we decided to use another navigation approach and we removed the tab bar controller. Unfortunately the tab bar items in the views seem to be unremovable in the SB. In the running app they are not visible. We even tried to reconnect them to a tab bar controller, but no avail. Also, they don't show up in the document outline.

有没有人可以传播一些如何去除它们的智慧?

Is there anyone who can spread some wisdom how to remove them?

推荐答案

在viewcontorller的属性检查器中尝试将底栏设置为none

Try making the bottom bar to none in the attribute inspector of viewcontorller

这篇关于移除标签栏后,情节提要仍显示“幽灵"标签栏项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆