A basic tutorial on how to create a strobe light animation on Xcode
Code-----------------------------
NSArray *animation;
animation=[[NSArray alloc] initWithObjects: [UIImage imageNamed:@"white.png"], [UIImage imageNamed:@"black.png"],
nil ];
imageView.animationImages=animation;
imageView.animationDuration=1;
[animation release];
[imageView startAnimating]; [super viewDidLoad];
Link to this comment:
All Comments (0)