【发布时间】:2014-11-07 11:19:43
【问题描述】:
以下代码是循环中的动画按钮。
[UIView setAnimationRepeatCount: 0];
self.introButton.transform = CGAffineTransformMakeScale(1.1, 1.1);
[UIView animateWithDuration: 0.4
delay: 0.0
options: UIViewAnimationOptionCurveEaseOut | UIViewAnimationOptionAutoreverse | UIViewAnimationOptionRepeat
animations: ^{
self.introButton.transform = CGAffineTransformIdentity;
}completion: ^(BOOL finished){
//Code
}];
但是,在添加此动画后,我无法再在动作内部进行按钮修饰。如何制作动画并获得动作?
【问题讨论】: