Я хочу, чтобы изображение исчезло, а затем полностью скрылось.
Вот мой код
CABasicAnimation *theAnimation;
theAnimation=[CABasicAnimation animationWithKeyPath:@"opacity"];
theAnimation.duration=1.0;
theAnimation.fromValue=[NSNumber numberWithFloat:1.0];
theAnimation.toValue=[NSNumber numberWithFloat:0.0];
[flowerImageView.layer addAnimation:theAnimation forKey:@"animateOpacity"];
Это работает правильно, но когда значение становится равным 0,0, изображение не должно появляться снова.