2011-03-07 9 views

答えて

0

このような書き込みをします。あなたが受け入れ答えなければなりませんtexmex5

[UIView beginAnimations:@"" context:NULL]; 

//The new position for view1 
[myview1 setFrame: CGRectMake(0,0,320,100)]; 

//The new position for view2 
[myview2 setFrame: CGRectMake(320, 0, 320, 100)]; 

//The animation duration 
[UIView setAnimationDuration:2.0]; 

[UIView setAnimationDelay: UIViewAnimationCurveEaseIn]; 

[UIView commitAnimations]; 
+0

おかげと呼ばれています。 "uiview commitanimations"のgoogle検索は私にサンプルプロジェクトを持っているhttp://www.raywenderlich.com/2454/how-to-use-uiview-animation-tutorialにつながった –

関連する問題