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卻什么都沒設置。

解決方案:干掉,或者起個標識符並使用。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM