Home  >  Article  >  Database  >  Scene is unreachable due to lack of entry points and does no

Scene is unreachable due to lack of entry points and does no

WBOY
WBOYOriginal
2016-06-07 15:36:451256browse

警告: Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier: 一、网上解答:http://blog.csdn.net/freedom2028/article/details/8589375 http://blog.csdn

警告:

Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:

一、网上解答:http://blog.csdn.net/freedom2028/article/details/8589375

 http://blog.csdn.net/shancheng966/article/details/41293087


试了一下,不行,好吧,自己找,找啊找啊找朋友,找到一个王尼玛,左一拳,右一脚,你是我的好安达

(⊙o⊙)…,偏题了


一般来说,当我们在storyboard中创建UINavigation Controller之后,我们不会喜欢他“附赠“的UITableViewController,所以就要自定义,好吧,拖了一个UIViewControler进去做他根视图(Root View Controller),可是添加上去之后就会出现如题的警告了,恭喜你,原因可能有三个:


一、你粗心大意,Scene is unreachable due to lack of entry points and does no

这个勾是必须选上的,初始化视图,其实也是,你自己拉进视图之后,Xcode是不会帮你做这个的。


二、打勾了,还报这个警告,那就看storyboard是否有添加,没按照是图一所示的做法

Scene is unreachable due to lack of entry points and does no


三、如果还报错,就走第三步

方块二,看箭头是否如上图方块2那样连着的,如果是,就按下图的做法

Scene is unreachable due to lack of entry points and does no


警告解除,又能快乐的玩耍了,好嗨森!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn