私は簡単なナビゲーションベースのアプリケーションでした。 それは非常によくiphoneで動作しますが、ipad 3.2のシミュレータとデバイスで動作しません。ipad 3.2のrootViewControllerを設定していません
in applicationdidfinishイベント;
MainViewController *viewController = [[MainViewController alloc] initWithNibName:@"MainView" bundle:nil];
[self.navigationController pushViewController:viewController animated:NO];
self.window.rootViewController = self.navigationController;
[viewController release];
、このラインについて言う:
self.window.rootViewController = self.navigationController;
[UIWindow setRootViewController:]:未認識セレクタインスタンス0x4c22dd0
に送られ、それはiPadの4.2上で動作します。
私はipad 3.2のためにそれを解決できますか?
偉大な、それはすべてのiOSバージョンで動作します。私はバージョンを確認する必要はないと思う。私はIBでビューコントローラを設定しないので。ありがとう... – fulberto100