我想做无限旋转。但我看到一个旋转的停顿。你能解释一下为什么吗?
UIView.animateWithDuration(0.5, delay: 0, options: UIViewAnimationOptions.Repeat | UIViewAnimationOptions.CurveLinear, animations:
{
self.myview.transform = CGAffineTransformRotate(self.myview.transform, CGFloat(M_PI_2))
}, completion: { nil
}()
)