点滅アニメーションのサンプルソース QuartzCoreフレームワークを使用する。 ViewController.h [code] #import <QuartzCore/QuartzCore.h> [/code] ViewController.m [code] – (void)blinkImage:(UIImageView *)target { CABasicAnimation* animation = [CABasicAnimation animationWithKeyPath:@”opacity”]; animation.duration = 0.1f; animation.autoreverses = YES; //animation.repeatCount = animation.repeatCount = 3; //infinite loop -> HUGE_VAL anima
![Objective-C:オブジェクトを点滅アニメーションさせる | siro:chro](https://cdn-ak-scissors.b.st-hatena.com/image/square/7833b2b2f9e8a356d07afd0c8e502fbb6bd023b8/height=288;version=1;width=512/https%3A%2F%2Fwww.sirochro.com%2Fwp-content%2Fuploads%2F2023%2F12%2Fcropped-favicon.png)