简体   繁体   English

xcode:在情节提要中看不到导航项

[英]xcode: can't see in storyboard a navigation item

I have added to my tableView with navigationController a bar button with text "Start!". 我已经使用navigationController一个带有文本“开始!”的条形按钮添加到了tableView 在此处输入图片说明

But I can not see it anymore in the storyboard. 但我无法在情节提要中看到它。

In my build I can see it: 在我的构建中,我可以看到它:

在此处输入图片说明

I think this is also the reason for this error log message: 我认为这也是此错误日志消息的原因:

pushViewController:animated: called on while an existing transition or presentation is occurring; pushViewController:animated:在发生现有转换或演示时调用; the navigation stack will not be updated. 导航堆栈将不会更新。

What can I do to make the bar button visible again? 如何使条形按钮再次可见?

The tableviewcontroller is covering the navbar in your storyboard. tableviewcontroller覆盖了情节提要中的导航栏。 Check the properties in the storyboard and verify that your tableviewcontroller is inheriting his geometry. 检查情节提要中的属性,并验证tableviewcontroller是否继承其几何。 (setting is called inferred) (设置称为推断)

在此处输入图片说明

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

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