We can set the image of an UIImageView with delay/animation as follows:
[UIView transitionWithView:myImageView
duration:1.0
options:UIViewAnimationOptionTransitionCrossDissolve
animations:^{
myImageView.image = [UIImage imageNamed:@"newImage.png"];
} completion:nil];
No comments:
Post a Comment