博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Could not find a storyboard named 'Main' in bundle NSBundle
阅读量:4512 次
发布时间:2019-06-08

本文共 313 字,大约阅读时间需要 1 分钟。

1、删掉工程中main.storyboard 后要删除plist文件中对应的键值,否则会报如下错误: Could not find a storyboard named 'Main' in bundle NSBundle

2、删除main.storyboard后,需要在AppDelegate.m中初始化一个window进行使用,否则应用程序没有window可用。

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

 

转载于:https://www.cnblogs.com/code4app/p/5127438.html

你可能感兴趣的文章
springMVC 报错:Unknown return value type: java.lang.Integer
查看>>
jquery easyui 验证Combo和ComboBox
查看>>
Looper,MessageQueue,Message,Handler
查看>>
编程珠玑--变位词集合
查看>>
Centos7 忘记密码的情况下,修改root密码
查看>>
第九章:testng——在Android Eclipse ADT 中 在线安装步骤
查看>>
洛谷 - P1063 - 能量项链 - 区间dp
查看>>
Turn the corner (三分)
查看>>
srs2录制flv文件metadata不准确
查看>>
P2512 [HAOI2008]糖果传递
查看>>
P3224 [HNOI2012]永无乡(平衡树合并)
查看>>
sql2000远程连接失败
查看>>
substring(start,stop)用于提取字符串中介于两个指定下标之间的字符。
查看>>
第三百零六天 how can I 坚持
查看>>
WEB Fuzz中需要关注的7种响应
查看>>
§1.2.1绝对值不等式第10题第二小问
查看>>
dip
查看>>
利用INI文件实现界面无闪烁多语言切换
查看>>
sql语句的一种组织方法
查看>>
最精简的IOCP封装
查看>>