Reputation: 127883
How many issues need to be considered carefully if a large of content need to be downloaded in an iOS app ?
Here are my known issues:
What else issues do you think ? and what is the best solution for this sort of problem ?
Upvotes: 1
Views: 286
Reputation: 125007
Download the data you need in a background thread while your app is running. If your app is terminated or suspended before you get all the data, resume where you left off the next time the app is running. There are a number of ways that you can do that; one good one is to break your data up into smaller chunks that can be downloaded sequentially.
Upvotes: 0
Reputation: 577
I would lazy load only data as needed. When the user requests an area load revenant data. If you want to preload do it in the background. I have seen 1.6Gb apps with lots of videos, embedded in main bundle, but that was for sales app that needed to have all videos ready to go and could not assume any active network connection.
Upvotes: 1