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

来源:互联网 发布:js的transitionend 编辑:程序博客网 时间:2024/05/16 11:49

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

_rootViewController = [[RootViewController alloc] init];

self.window.rootViewController = _rootViewController;

原创粉丝点击