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

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

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

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

你可能感兴趣的:(Application windows are expected to have a root view controller at the end of application launch)