我使用以下代码片段制作了对象动画。
[UIView animateWithDuration:0.3 delay:0.2
options:(UIViewAnimationCurveEaseOut|UIViewAnimationOptionAllowUserInteraction)
animations:^{[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(faceRight:finished:context:)];
self.viewMiniDetalhe.center = CGPointMake(500, 150);
}completion:^(BOOL finished){
NSLog(@"Move to left done");
}];
但是我想实现一个弹性效果,称为easeOutElastic。
阿特,