How to load large amount of images in iOS? -


i developing app displays large number of images. when i'm loading images there's no problem on loading of 1000 images when image crosses 1000 app crashes , memory issues raised. how solve it? there way. kindly me?

thanks in advance

your app crashing due consuming memory. need strategy manage memory app uses.

you need set pooling-type system load images might displayed "soon".

for example, if user looking @ image 500, have 498, 499, 501, , 502 loaded memory.

if move image 501, deallocate 498, , load 503.

what constitutes "soon" dependent upon how app's flow works, should able come workable.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -