Open Debenson opened 8 years ago
所有window 必须要有root view controller
没解决之前 你可以把services中继承BeeUIWindow的grid inspector给移除掉
打log,rootViewControl也有的。用下面替换是好的,也不知道root casue 是什么。 UIViewController *viewController = [[UIViewController alloc] init]; self.window.rootViewController = viewController; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible];
官方能不能更新一个Example?第一次运行就出错,让人很不放心啊。
打开Bee_Precompile.h 然后将
改成OFF就好了
2015-09-22 23:13:05.856 example[6572:427606] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application windows are expected to have a root view controller at the end of application launch' * First throw call stack: