内容へ移動
Cat Paw Software
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
ios
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== iOS Application Development ====== iPhone、iPadアプリの開発 ===== Assets ===== ==== App Icon ==== ^デバイス^ファイル名^サイズ^備考^ |iPhone Non-Retina|icon.png|57x57| | |iPhone Retina|icon@2x.png|114x114| | |iPhone Retina iOS7|icon-60@2x.png|120x120| | ==== Launch Image ==== ^デバイス^ファイル名^サイズ^備考^ |iPhone Non-Retina|Default.png|320x480| | |iPhone Retina|Default@2x.png|640x960| | |iPhone Retina 4-inch|Default-568h@2x.png|640x1136| | ===== UIViewControllerの切り替え ===== 複数のUIViewControllerを使いたい場合は、UIApplicationDelegate に切り替えコードを実装。 HogeAppDelegate.h <code objc> @interface HogeAppDelegate : NSObject <UIApplicationDelegate> @property (nonatomic, retain) IBOutlet UIWindow *window; - (void) useFugaViewController; @end </code> HogeAppDelegate.m <code objc> - (void) useFugaViewController { FugaViewController *controller = [[FugaViewController alloc]initWithNibName:@"FugaViewController" bundle:NULL]; self.window.rootViewController = controller; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.75]; [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:controller.view cache:YES]; [UIView commitAnimations]; [controller release]; } </code> UIViewControllerから呼び出す <code objc> -(void)onTouchDownChangeUIViewController:(id)sender { HogeAppDelegate* delegate = (HogeAppDelegate *)[[UIApplication sharedApplication]delegate]; [delegate useFugaViewController]; } </code>
ios.txt
· 最終更新: 2013/09/22 09:31 by
nullpon
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ