报错Application windows are expected to have a root view controller at the end of application launc
来源:互联网 发布:西安网络推广外包 编辑:程序博客网 时间:2024/05/22 18:14
控制台执行出现如下报错
Application windows are expected to have a root view controller at the end of application launch
解决办法
在AppDelegate.m中的
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
中输入
XXXController *controller = [[XXXViewController alloc]init];
[self.window setRootViewController:controller];
即可
0 0
- 报错Application windows are expected to have a root view controller at the end of application launc
- 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 appliaction launch.
- 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问题分析
- 我的技术波克开通啦
- 九度oj 1000
- Android Fragment 真正的完全解析
- 迭代器失效问题(转)
- Joint关节
- 报错Application windows are expected to have a root view controller at the end of application launc
- leetcode-二分搜索:Search in Rotated Sorted Array
- php mail函数发送邮件header过长
- PullScrollView,PullListView, PullGridView 等进入自动下拉刷新
- Android网络编程之Http请求服务器数据(POST方式)
- 诸葛告诉你一个真实的产品经理是什么样的!
- 2012年5月SAT香港真题解析
- 多态工厂的实现--工厂方法模式
- iOS8使用TestFlight进行内部测试功能尝鲜