Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPhone 5s #46

Open
niapps opened this issue Mar 25, 2014 · 0 comments
Open

iPhone 5s #46

niapps opened this issue Mar 25, 2014 · 0 comments

Comments

@niapps
Copy link

niapps commented Mar 25, 2014

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

  • (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];
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant