[UIView beginAnimations:nil context:nil];
[UIView setAnimationDelay:0.8];
[UIView setAnimationDuration:6.5];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
[UIView setAnimationWillStartSelector:@selector(yourmethod)];
[UIView setAnimationDidStopSelector:@selector(yourmethod)];
[UIView setAnimationDelegate:self];
[_backgroundImage setCenter:CGPointMake(20,650)];
[UIView commitAnimations];
UIView 用法示例
最新推荐文章于 2015-12-01 14:57:37 发布