Launch Screen may not have connections

三世轮回 提交于 2020-01-13 13:12:50

问题


Getting this error while trying to compile and run app. Since the only work I have done is on the XIB file, I have tried removing the value from the launch screen file box, still it didn't help.

Here's a screenshot: http://i.imgur.com/mCtsdUr.png

Using Xcode 6.1.


回答1:


If you set outlet connection with any of the object of launch screen then it's give this types of error.Simply launch screen has a plain(static) UI. You can not change it's value run time or using creating UIViewcontroller. So, remove all outlet connection of launch screen. If you want remove Launch Screen then go to General setting tab then clear value of Launch Screen file. Make sure it's also clear into the info.plist file.



来源:https://stackoverflow.com/questions/26980292/launch-screen-may-not-have-connections

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!