Questions tagged [on-demand-resources]

On-demand resources (ODR) is introduced in iOS 9. ODR are app contents that are hosted on the Apple App Store and are separate from the related app bundle that you download. They enable smaller app bundles, faster downloads, and richer app content.

iOS 9 introduces On Demand Resources, enabling the efficient delivery of rich games and full featured applications using dynamically loaded content. Significantly reduce the time between purchasing and running an app from the App Store, while also decreasing the required storage space by downloading and retaining only content that is necessary. Dive into the latest enhancements in app packaging and learn the APIs to allow your app to acquire only its essential resources.

Find more here

100 questions
0
votes
1 answer

Understanding app thinning size report

I have implemented the app thinning using on-demand resources. Now when the ipa is generated, i get a app thinning size report, which is as following App Thinning Size Report for All Variants of App Variant: MyAppName-iPhone 6.ipa Supported…
simply_me
  • 384
  • 1
  • 11
0
votes
1 answer

iOS On Demand Resources dialog not showing

I'm trying to create asset packs for hosting on my server. I'm following this guide: Generating Hosted Asset Packs, I do everything exactly as it is described and when it comes to this dialog in question, it just doesn't show. Any ideas ?
myexec
  • 470
  • 1
  • 4
  • 13
0
votes
2 answers

Is there some time limit with perform segue?

Is there some time limit when a segue is triggered and the code is being executed inside prepareForSegue:sender:? I mean this, suppose I am inside I am triggering a AVPlayerViewController but this controller requires a video that must be download…
Duck
  • 34,902
  • 47
  • 248
  • 470
0
votes
1 answer

Enable/disable button depending on On Demand Resources tag

I have some buttons linked to an IBAction that plays a sound. -(IBAction)listen { // play the audio } My files are organized with On Demand Resources, and I have 3 tags: level1 level2 level3 So what I'd like to achieve is: if the user is on…
fabdurso
  • 2,366
  • 5
  • 29
  • 55
0
votes
1 answer

Best way to manage a large number of files in iOS

I'm going to have a large number of mp3 files in my app. Right now, this is what I do: Use On Demand Resources so that the files will not affect the app size; At first launch: If user is connected to WiFi, download all the files and store them in…
fabdurso
  • 2,366
  • 5
  • 29
  • 55
0
votes
2 answers

On Demand Resource App Thinning

I have been using image localization, I want to use the on-demand resource concept. I want to implement this such that if the user selects the english language, the app will display the image related to English and at this time I want only the…
Abhilash
  • 63
  • 1
  • 3
-1
votes
1 answer

Unable to find On-Demand Resources embedded in App bundle

I use URLForResource to find on-demand resources after downloading them and it currently works correctly. Due to some issues with Apple not being able to download the ODR during their review, I now have to temporarily embed my On-Demand Resources…
Gabe
  • 5,997
  • 5
  • 46
  • 92
-1
votes
2 answers

Why my On Demand Resource is still in Downloading... status?

I am pretty sure that this is the reason why my completion block is not called here: resourceRequest = NSBundleResourceRequest(tags: Set(["preview"])) resourceRequest?.beginAccessingResources { [weak self] downloaded in //not called …
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
-2
votes
1 answer

Does On demand resource really persisted after quitting the app?

I have created the NSBundleResourceRequest object as instance member of the class. if i quit the app the request object is deallocatted. According to the apple document if the request object is deallocated the downloaded asset's control is taken…
iroh
  • 23
  • 5
-2
votes
1 answer

Where is the On Demand Resources File?

I finished all the work and I can read the data normally in debug mode. But uploading to TestFlight I don't know where the downloaded data goes? In debug mode, the data is in the Runner.app/OnDemandResources/com.xxx.FontsPack-xxxx.assetpack…
capdev
  • 257
  • 1
  • 7
1 2 3 4 5 6
7