私のアプリは正しいiPadウィンドウを表示しておらず、同じiPhone画面を表示していましたが、左上が整列しているとAppleが言ったため、拒否されたアプリを作成しました。
シミュレーターで実行すると、アプリに正確に表示されるはずの大きなiPadビューが表示されます。
デバイスに表示されているAppleレフリーとしての私のアプリ:
代替テキストhttp://www.balexandre.com/temp/2010-04-22_0939.png
シミュレーターを実行している私のアプリ(50%ズームのみ):
代替テキストhttp://cl.ly/cCH/Screen_shot_2010-04-22_at_09.40.24.png
アプリケーションデリゲートのコードは、以前に公開したコードです。
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// The default have the line below, let us comment it
//MainViewController *aController = [[MainViewController alloc] initWithNibName:@"MainView" bundle:nil];
// Our main controller
MainViewController *aController = nil;
// Is this OS 3.2.0+ ?
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 30200
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
// It's an iPad, let's set the MainView to our MainView-iPad
aController = [[MainViewController alloc]
initWithNibName:@"MainView-iPad" bundle:nil];
else
// This is a 3.2.0+ but not an iPad (for future, when iPhone/iPod Touch runs with same OS than iPad)
aController = [[MainViewController alloc]
initWithNibName:@"MainView" bundle:nil];
#else
// It's an iPhone/iPod Touch (OS < 3.2.0)
aController = [[MainViewController alloc] initWithNibName:@"MainView" bundle:nil];
#endif
// Let's continue our default code
self.mainViewController = aController;
[aController release];
mainViewController.view.frame = [UIScreen mainScreen].applicationFrame;
[window addSubview:[mainViewController view]];
[window makeKeyAndVisible];
return YES;
}
私のターゲット情報で私はiPhone/iPadを持っています
代替テキストhttp://cl.ly/cwB/Screen_shot_2010-04-22_at_09.33.12.png
私の質問は、アプリをどのように構築すればよいですか?
- BaseSDKを使用する
- iPhoneシミュレーター3.1.3
- iPhoneシミュレータ3.2
私のアクティブな構成はDistribution
であり、アクティブなアーキテクチャはarm6
すでにiTunesConnectにアプリを公開している人は、設定について説明してもらえますか?
PS私は開発者ガイドラインに従いBuilding and Installing your Development Application
ましたCreating and Downloading Development Provisioning Profiles
が、これについては何も述べていません。正確に行ったため、アプリは拒否されました。