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

来源:互联网 发布:淘宝定制产品如何发布 编辑:程序博客网 时间:2024/05/19 04:04

如题,在IOS7环境下,使用XCode5使用代码实现视图开发,

出现该错误信息,是因为没有设置rootViewController而造成的

只需添加self.window.rootViewController = self.tabBarController;代码即可解决问题

0 0
原创粉丝点击