我正在使用 TabBarController
,它在我的 ipod 中运行良好。
但我的应用程序在 3.0 时崩溃了。有什么帮助吗?
self.window.rootViewController = self.tabBarController; //crashing here
和日志显示
-[UIWindow setRootViewController:]: unrecognized selector sent to instance 0x127c80
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -
[UIWindow setRootViewController:]: unrecognized selector sent to instance 0x127c80'
最佳答案
This可能会告诉你正确的方向。让我知道问题是否仍然存在。
由于在不同版本的 iOS 上执行,该方法可能已被弃用。
关于iphone - TabbarController 在 3.0 中崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6965109/