some time ago posted question: cordova / phonegap downloading lot of images, best possible solution
but no 1 answered that.
i decided same application, in objective c now. still have same problem :)
so, have ios app developerd using objective c , xcode. app suppose work both offline , online. if user launching app first time, sees progress bar , data , images fetched , downloaded device. after process app reloading (starting again)
it works, think first start of app slow (it's on 800 images) takes more 7 minutes, bad user experience.
here of strategies:
download images single zip file , extract device
download part of images (25% ?) , download rest of them in background, while user can use app. use kind of images placeholder @ places ?
which strategy best ? maybe has similar experience ?
step : 1
i'll suggest not download images first time. pull required data , feed database or ever technique using , let use go inside application. should take hardly few seconds.
step : 2
download images needs show. , remember don't download image on main thread. , after download save them in local folder. don't need download same image again. application support offline mode can use place holder image if image not downloaded earlier.
setp : 3
before start downloading image first check whether it's exists or not in local folder.
to download image can go through below link.