Guides and Sample Code

Developer

On-Demand Resources Guide

Enabling On-Demand Resources

On-demand resources are enabled by default for apps targeting iOS 9.0 or later. You can manually change this in the build settings for a target (Figure 2-1).

Figure 2-1Enable on-demand resources build setting image: ../Art/ODR_Enabling_ODR_2x.png
Setting enable or disable on-demand resources
  1. In the project navigator, select the project file.

  2. In the project editor, select the target.

  3. Select the Build Settings pane.

  4. Show the Assets category.

  5. Set the value of the Enable On-Demand Resources setting.

    • Yes enables on-demand resources for the target.

    • No disables on-demand resources for the target.