0
我想搖動價格按鈕。每次倒車後,它應該等待幾秒鐘。如何在UIView動畫的兩個反向之間等待?
[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];
我該怎麼做?