首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > windows >

Application windows are expected to have a root view controller at the end of ap

2013-01-19 
Application windows are expected to have a root view controller at the end of application launch解

Application windows are expected to have a root view controller at the end of application launch解决方法

解决方法:在ios5以上版本,应用程序加载时,需要一个 root view controller ,所以需要编写代码

_rootViewController = [[RootViewController alloc] init];

self.window.rootViewController = _rootViewController;

热点排行