重複の可能性:
iPad シミュレーターでアプリがクラッシュする
[UIStatusBarWindow convertPoint:fromView:]: unrecognized selector sent to class.
iPad シミュレーターで iPhone アプリをテストしようとすると、上記のメッセージが表示されてアプリがクラッシュしました。
iPadシミュレーターでのiPhoneアプリのテストは、アップルストアのレビューガイドラインを通過していました
iPhone アプリは、変更を加えることなく、iPhone の解像度、および iPhone 3GS の 2 倍の解像度で、iPad でも実行する必要があります。
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]autorelease];
self.containerViewController = [[[ContainerViewController alloc]init]autorelease];
self.window.rootViewController = self.containerViewController;
[window makeKeyAndVisible];
return YES;
}
info の設定を変更する必要がありますか。