You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AsyncImageView is not working on a iPhone 5s device. I had to change the name of the first parameter into withImage. After that it works on a iPhone 5s.
Kind Regards, Nico Jansen
(void)setImage:(UIImage *)withImage
{
if (withImage != self.image && self.crossfadeDuration)
{
//jump through a few hoops to avoid QuartzCore framework dependency
CAAnimation *animation = [NSClassFromString(@"CATransition") animation];
[animation setValue:@"kCATransitionFade" forKey:@"type"];
animation.duration = self.crossfadeDuration;
[self.layer addAnimation:animation forKey:nil];
}
super.image = withImage;
[self.activityView stopAnimating];
}
The text was updated successfully, but these errors were encountered:
Hi Guys,
The AsyncImageView is not working on a iPhone 5s device. I had to change the name of the first parameter into withImage. After that it works on a iPhone 5s.
Kind Regards, Nico Jansen
{
if (withImage != self.image && self.crossfadeDuration)
{
//jump through a few hoops to avoid QuartzCore framework dependency
CAAnimation *animation = [NSClassFromString(@"CATransition") animation];
[animation setValue:@"kCATransitionFade" forKey:@"type"];
animation.duration = self.crossfadeDuration;
[self.layer addAnimation:animation forKey:nil];
}
super.image = withImage;
[self.activityView stopAnimating];
}
The text was updated successfully, but these errors were encountered: