简体   繁体   中英

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. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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