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

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


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

xcode 运行时报错:“Launch screens may not set custom class names”_第1张图片


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

你可能感兴趣的:(xcode 运行时报错:“Launch screens may not set custom class names”)