2013年12月27日金曜日

UIViewのアニメーション

[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.5];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(scrollAnimationDidEnd)];

//ここに処理を追加
animeView.frame = CGRectMake(0.0, 10.0, 100, 100)
                            
[UIView commitAnimations];

0 件のコメント:

コメントを投稿