>  기사  >  데이터 베이스  >  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
WBOY원래의
2016-06-07 15:36:451259검색

警告: 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


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

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.