xcode 运行时报错:“Launch screens may not set custom class names”

来源:互联网 发布:电力电子研究生知乎 编辑:程序博客网 时间:2024/06/11 19:38

xcode 运行时报错:“Launch screens may not set custom class names”


原因:使用了原来的项目生成的LaunchScreen.storyboard,在LaunchScreen.storyboard中设置Custom Class为自己的ViewController



解决方法:不要使用生成的LaunchScreen.storyboard,自己新建一个storyboard

0 1
原创粉丝点击