iOS: Correct strategy for network photo album
As I stated in my question here I am having a hard time having an album
which downloads full res 8MP pictures from internet (along with low-res
thumbnails) because it generates memory warnings and when a photo capture
session with AVFoundation is started, the app crashes (on iPad 2 it
crashes even after loading few full-res photos, without using camera or
other resources, also sometimes it crashes with 'kill 9' even without
throwing memory exceptions). I am using classes from Nimbus project which
uses AFNetworking, which I also use for other HTTP operation my
application needs.
As Nimbus obviously has memory problems (I tried to limit download queue
and I am also trying to find out how to limit memory and optimize it), I
am left with 2 options: use another library (I was thinking of FGallery,
but I also noticed comments that it has some memory issues with ARC) or
implement a simple gallery from scratch (and maybe use SDWebImage for
caching images or JMImageCache).
So, which would you think it would be a working solution for having a
gallery with 8MP photos without crashes?
No comments:
Post a Comment