UIButton like blink
<p>hello friend how to make uibutton like blink i have use bellow code but it is not like blink
in my app i am developed recording so i want to like that button</p>

<pre><code>CABasicAnimation *pulseAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
pulseAnimation.duration = .5;
pulseAnimation.toValue = [NSNumber numberWithFloat:1.1];
pulseAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
pulseAnimation.autoreverses = YES;
pulseAnimation.repeatCount = FLT_MAX;
[btnBlink.layer addAnimation:pulseAnimation forKey:nil];
</code></pre>
