Hi guys I am trying to bring back an image automatically after it has faded to alpha 0, but cannot figure it out.
[UIImageView beginAnimations:nil context:NULL];
[UIImageView setAnimationDuration:4.0];
[_imageflushdownwater setAlpha:0];
self.imageflushdownwater.transform = CGAffineTransformRotate(_imageflushdownwater.transform, M_PI / 1);
[UIImageView commitAnimations];
Thanks in advance.
You don’t have to figure out, it would have been enough to read through UIView’s class reference… (Please! Pretty please!)
Anyways…
Using the old, class-based API (that’s what you are using):
Using the new, block-based API (that’s what you should be using):