-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Please can anyone help me? #46
Comments
You'll have to be more specific about what's not working when you run on device vs simulator. |
When i launch on device i receive a memory warning. All my gifs are in my NSMutableArray. When I begin scroll it scrolling for 2 or 3 seconds and then crash. |
You'll have to do smarter on-demand loading of your GIFs. Do you really need all 84 in memory at the same time? Even with regular images, that would likely crash your device (try it out with 84 static JPGs). |
Please raphaelschaad can you give me your email? I will send you my code and if you have a free time maybe you will look at it? sergeyoleynich@gmail.com |
Hey Sergey, I'm afraid this is not the right forum for assistance with those broad problems as it doesn't seem to be an issue with FLAnimatedImage. For general help, I recommend looking at http://stackoverflow.com or http://devforums.apple.com Good Luck! |
Ok, thanks |
I'm trying to use FLAnimatedImage to show 84 gif in collection view. But i can't do this my app perfect work in simulator but doesn't work on real device. I had next code:
const int NUMBER_OF_GIFS = 84;
@Property (strong, nonatomic) FLAnimatedImage *gifImage;
{
CellForGif *cellForGif = [collectionView dequeueReusableCellWithReuseIdentifier:@"CellForGif" forIndexPath:indexPath];
cellForGif.gifImage.animatedImage = [self.gifsArray objectAtIndex:indexPath.row];
[cellForGif.gifImage stopAnimating];
return cellForGif;
}
The text was updated successfully, but these errors were encountered: