dimanche 28 décembre 2014

How to pull images in a timely manner [on hold]


I have an iOS app in which I pull images from a server and display them for the user. It's "feed" style app that is image heavy (think facebook, instagram, etc.) I'm trying to keep the images under a certain size so that it's faster to pull them from the server, however when the internet connection isn't that great sometimes it still just churns and my app is just not very responsive. However when I load up instagram it seems to do a much better job at loading their pictures than my app. I'm hoping to figure out how I can better load images so the experience is a little better. Especially when the user's internet connection isn't the best.


Maybe I should be optimizing my images for each screen size on the server? When images are saved I could save 5 different sizes of the image for different screen sizes. That way iPhone 4's can pull down smaller images than the iPhone 6-pluses. Is this a good idea or just a waste of hard drive space?


What other techniques or tricks do you have to speed up image loading, or other tricks to improve user experience?





Aucun commentaire:

Enregistrer un commentaire