UIViewController
INDEX>UIKit> ビューをコントロールするクラスです。 継承 UIResponder : NSObject 準拠 NSCoding NSObject (NSObject) フレームワーク /System/Library/Frameworks/UIKit.framework 使用可能 iOS2.0 定義 UINavigationController.h 概要 サブクラスを作って…
モーダルに画面遷移する場合のトランジション typedef enum { UIModalTransitionStyleCoverVertical = 0, UIModalTransitionStyleFlipHorizontal, UIModalTransitionStyleCrossDissolve, } UIModalTransitionStyle; ||< [asin:4794218524:detail] **解説 UIM…
回転をしようとする時に呼ばれるデリゲートメソッド -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration 解説 返り値 ( void ) 引数 ( UIInterfaceOrientation )toInterfaceOrient…
回転のアニメーションの中間地点で呼び出されるデリゲートメソッド -(void)willAnimateSecondHalfOfRotationFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation duration:(NSTimeInterval)duration 解説 回転のアニメーションの中…
画面が回転しようとするときに呼び出されるデリゲートメソッド -(void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation duration:(NSTimeInterval)duration 解説 ワンステップユーザーインターフェースの回転の前…
回転のアニメーションの始まろうとするときに呼び出されるデリゲートメソッド -(void)willAnimateFirstHalfOfRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration 解説 返り値 ( void ) 引数…
INDEX>UIKit>UIViewController ビューが消されようとする時に呼ばれるデリゲートメソッド。 -(void)viewWillDisappear:(BOOL)animated 解説 アニメーションが始める前に呼び出されます。 遷移先のビューがまだ読み込み終わっていない場合は、遷移先の-loadVi…
INDEX>UIKit>UIViewController ビューが表示されようとする時に呼ばれるデリゲートメソッド -(void)viewWillAppear:(BOOL)animated 解説 ビューの読み込みが終了して、画面描画のアニメーションが始まる前に呼び出されます。 返り値 ( void ) なし 引数 ( BO…
解説 返り値 ( void ) 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone3.0 参照 例文
Nibファイルで定義されたビューが読み込まれた時に呼び出されるデリゲートメソッド 解説 返り値 ( void ) 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone2.0 参照 例文
INDEX>UIKit>UIViewController ビューが消された後に呼び出されるデリゲートメソッド。 -(void)viewDidDisappear:(BOOL)animated 解説 画面を閉じるアニメーションが終わる時に呼び出されます。 返り値 ( void ) 引数 ( BOOL )animated フレームワーク UIKit…
INDEX>UIKit>UIViewController ビューが表示されたあとに呼び出されるデリゲートメソッド -(void)viewDidAppear:(BOOL)animated 解説 画面遷移アニメーションが完全に終わったあとに呼び出されます。 返り値 ( void ) 引数 ( BOOL )animated フレームワーク …
画面が自動的に回転しようとするときに呼び出されるデリゲートメソッド。 -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 解説 画面が自動的に回転しようとするときに呼び出されるデリゲートメソッド。 YESを…
ツールバーアイテムをセットします。 -(void)setToolbarItems:(NSArray *)toolbarItems animated:(BOOL)animated 解説 ツールバーアイテムをセットします。 返り値 ( void ) なし 引数 ( NSArray * )toolbarItems セットするツールバーアイテムの配列 ( BOOL…
テーブルビューのセルを編集可能・不可能にする。 -(void)setEditing:(BOOL)editing animated:(BOOL)animated 解説 返り値 ( void ) 引数 ( BOOL )editing ( BOOL )animated フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone…
解説 返り値 ( UIView * ) 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone2.0 参照 例文
解説 返り値 ( UIView * ) 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone2.0 参照 例文
モーダルビューを表示します。 -(void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated 解説 単にアラートならUIAlertクラスを使います。 返り値 ( void ) 引数 ( UIViewController * )modalViewController ( …
INDEX>UIKit>UIViewController viewプロパティがnilの場合に呼び出される 解説 このメソッドを呼び出してはいけません。Storyboardを読み込む際に呼び出されます。 viewプロパティがnilの場合に呼び出されてコントローラーのビューを作ります。画面のセット…
ビューはロードされたか 解説 返り値 ( BOOL ) ロードされたかどうか 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone3.0 参照 例文
Nibファイルからオブジェクトを初期化して返します。 -(id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle 解説 返り値 ( id ) UIViewControllerまたはそのサブクラス 引数 ( NSString * )nibName ( NSBundle * )nibBundle フレームワー…
編集・追加ボタン 解説 ( UIBarButtonItem * ) フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone2.0 参照 例文
画面が回転したあとに呼び出されるデリゲートメソッド -(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation 解説 返り値 ( void ) 引数 ( UIInterfaceOrientation )fromInterfaceOrientation フレームワーク UIKit …
モーダルビューを消します -(void)dismissModalViewControllerAnimated:(BOOL)animated 解説 返り値 ( void ) 引数 ( BOOL )animated フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone2.0 参照 例文
INDEX>UIKit>UIViewController メモリが少なくなった場合に呼び出されるデリゲートメソッド - (void)didReceiveMemoryWarning 解説 iOS6から-viewWillUnloadと-viewDidUnloadをメモリ警告時に呼ばなくなりました。(非推奨に) iOS6からはメモリ警告時のビュ…
解説 (void)didAnimateFirstHalfOfRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation 返り値 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone2.1 参照
解説 @property(nonatomic,assign) BOOL wantsFullScreenLayout 返り値 引数 フレームワーク UIKit クラス UIViewController Property 使用可能 iPhone3.0 参照 例文
プロパテイ ビュー 解説 @property(nonatomic, retain) UIView *view フレームワーク UIKit クラス UIViewController Property 使用可能 iPhone2.0 参照 例文
解説 @property (nonatomic, retain) NSArray *toolbarItems 返り値 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone3.0 参照
プロパティ タイトル 解説 @property(nonatomic, copy) NSString *title フレームワーク UIKit クラス UIViewController Property 使用可能 iPhone2.0 参照 例文