我想摇动价格按钮。每次倒车后,它应该等待几秒钟。
[UIView animateWithDuration:0.14f delay:0 options:(UIViewAnimationOptionAutoreverse | UIViewAnimationOptionRepeat | UIViewAnimationCurveEaseInOut) animations:^{
self.priceButton.transform = CGAffineTransformMakeRotation(DEGREES_TO_RADIANS(3));
self.priceButton.transform = CGAffineTransformMakeRotation(DEGREES_TO_RADIANS(-6));
self.priceButton.transform = CGAffineTransformMakeRotation(DEGREES_TO_RADIANS(3));
} completion:nil];
我怎样才能做到这一点?