-
Notifications
You must be signed in to change notification settings - Fork 187
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
App Crashes using AsyncImageVew #42
Comments
The code looks OK, although this line is redundant since it's the default anyway:
Can you post more of the code? - where is this code used exactly? In a table view? |
I have used asyncImageView for paging : code is as follows
} 2.Code for ZoomScrollView is as follows:
App crashes when I view 5-6 images. Please help me finding a solution. |
Thanks AsyncImageView is a perfect library for loading images asynchronously .
I have used this library many time but when I use to load many images in paging the app crashes. Its a memory problem I guess.
Here's my piece of code:
self.asyncImageView = [[AsyncImageView alloc]init];
self.asyncImageView.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height);
self.asyncImageView.contentMode = UIViewContentModeScaleAspectFit;
self.asyncImageView.imageURL = [NSURL URLWithString: self.imageUrl];
self.asyncImageView.userInteractionEnabled = YES;
[AsyncImageLoader sharedLoader].cache = [AsyncImageLoader defaultCache];
I have used asyncImage to page many images.
Thanks in advance
The text was updated successfully, but these errors were encountered: