I have an app where about 100MB of ODR content is always needed (tagged as prefetch) and a further 300MB of IAP content that is also always needed, once the user has purchased it.
To assure the resources exist, I access the relevant ODR when the app is opened and the IAP ODR when purchased, but I'm concerned that it will be purged while the app is in use.
If this is possible, how do I assure the content is on the device? I could check for the ODR before it's used and if it's not there call a function to download it, but I need to generate a new NSBundleResourceRequest every time and as I understand it, you can only use that request once, so if the function is called more than once, will it be impossible to generate a new NSBundleResourceRequest?
To assure the resources exist, I access the relevant ODR when the app is opened and the IAP ODR when purchased, but I'm concerned that it will be purged while the app is in use.
If this is possible, how do I assure the content is on the device? I could check for the ODR before it's used and if it's not there call a function to download it, but I need to generate a new NSBundleResourceRequest every time and as I understand it, you can only use that request once, so if the function is called more than once, will it be impossible to generate a new NSBundleResourceRequest?