背景:新建工程运行报错。
原因:删掉系统创建的ViewController。
解决办法:
不建议删除storyboard
1、删除info.plist里面的Main storyboard file base name键值对并取消Main.storyboard里面的Use as Launch Guides选项
2、修改Main.storyboard里面的Custom Class为你想要的页面
背景:新建工程运行报错。
原因:删掉系统创建的ViewController。
解决办法:
不建议删除storyboard
1、删除info.plist里面的Main storyboard file base name键值对并取消Main.storyboard里面的Use as Launch Guides选项
2、修改Main.storyboard里面的Custom Class为你想要的页面