commitAnimations
解説
アニメーションの実行
返り値
( void )
引数
フレームワーク
UIKit
クラス
UIView
Instance Methods
使用可能
iPhone2.0
参照
例文
-(IBAction)buttonAction:(id)sender{ //ラベルを透明にするアニメーション [UIView beginAnimations:@"MyAnimation" context: nil ]; [UIView setAnimationDuration:2.0];//アニメーションの時間を設定 theLabel.alpha = 0.0f; [UIView commitAnimations]; }