XCode warning:“View Controller” is unreachable because it has no entry points

Unsupported Configuration: “View Controller” is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].

直译:不支持的设置:"View Controller"是不能被取到的,因为它没有程序入口指针,也没有标识符以供方法[UIStoryboard instantiateViewControllerWithIdentifier:]在运行时获取。

分析:相当于你创了一个UIViewController却什么都没设置。

解决方案:干掉,或者起个标识符并使用。

 

posted @ 2017-07-26 18:53  一人前行  阅读(2352)  评论(0编辑  收藏  举报