Application windows are expected to have a root view controller at the end of appliaction launch.
2013-12-26 10:59
537 查看
这个警告是新版XCode和ios6中出现的,解决方法是加一句[self.window setRootViewController:rootController];
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
………………
[self.window setRootViewController:rootController];
………………
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
………………
[self.window setRootViewController:rootController];
………………
}
相关文章推荐
- Application windows are expected to have a root view controller at the end of appliaction launch.
- 关于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'
- 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
- 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' [
- 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
- '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'
- “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 的解决
- 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解决方法
- 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
- Applications are expected to have a root view controller at the end of application launch
- iOS每次启动都提示:Application windows are expected to have a root view controller at the end of application
- Applications are expected to have a root view controller at the end of application launch