I'm trying to do a transition animation from UIImage background color to an actual image loaded from server. I found that the transition make the UITableView stutter while the animation is happening. Is there a way to make the transition smooth without causing the stutter.
float fadeDuration = 1.0f;
imageView.backgroundColor = [UIColor averageColor];
UIImage * toImage = [UIImage imageWithData:data];
[UIView transitionWithView:imageView
duration:fadeDuration
options:UIViewAnimationOptionTransitionCrossDissolve
animations:^{
imageView.image = toImage;
} completion:nil];