ios - Best practice for retrieving many images from Parse? -


i have app photo-based, , had ton of large-scaled resolution images on parse. have app set grab these images parse query, , storing each photo uiimage array loop, , displaying these photos in uicollectionview.

it works great, if pulling less 10 photos parse. however, if retrieving, 20 photos, when scroll down uicollectonview after photos have been loaded, around 18th or photo, app crash, , xcodes console output "received memory warning".

what best practice retrieving large amount of large sized photos parse? (if displaying them in uicollectionview)

i download thumbnails. can using lazy loading (http://www.theappguruz.com/blog/ios-lazy-loading-images) if inclined.

when image clicked on , want see full size, download full size image :) set limit on how many images want retain in memory, , use queue decide when store/get rid of old images.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -