简体   繁体   English

导航项不显示

[英]Navigation item doesn't show

What's happening is I have a modal segue to a new window. 发生的事情是我对新窗口进行了模态搜索。

Then on that window the nav text or button doesn't show! 然后,在该窗口上不会显示导航文本或按钮!

Note: I am trying to create the to-do list application that apple released the tutorial for! 注意:我正在尝试创建苹果为其发布教程的待办事项列表应用程序!

These are images of the result 这些是结果的图像

Let me know if I am missing any crucial information! 让我知道我是否缺少任何重要信息!

Also: I tried changing the segue to push and that output an error. 另外:我尝试将segue更改为push并输出错误。 The error is 错误是

'NSInvalidArgumentException', reason: 'Pushing a navigation controller is not supported'

The message "Pushing a navigation controller is not supported" is the hint. 提示“不支持按下导航控制器”。 Check your storyboard, if you are really using a "modal" presentation of the new view controller, or if you are accidently using the "push" operation, wich will only work for common view controllers. 如果您确实在使用新的视图控制器的“模态”演示文稿,或者您不小心使用了“推”操作,请检查情节提要,仅对普通视图控制器有效。 Push may not work for Navigation Controllers. 推送可能不适用于导航控制器。

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

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