I am able to fade out my image successfully. When I try to fade it back in, it does not "fade" in... it just comes back abruptly. What am I doing wrong? Here is my code for fading it out and for trying to fade it back in:
Fading it out:
//Fade Out
Image.hidden = NO;
[UIView animateWithDuration:0.5 delay:1.0 options: UIViewAnimationOptionCurveEaseOut animations:^ {Image.alpha = 0;}
completion:^(BOOL finished){Image.hidden = YES;}];
This is what I use for trying to fading it back in; basically, I am doing the opposite... why doesn't it work?
//Fade In
Image.hidden = YES;
[UIView animateWithDuration:0.5 delay:1.0 options: UIViewAnimationOptionCurveEaseIn animations:^ {Image.alpha = 1;}
completion:^(BOOL finished){Image.hidden = NO;}];