From WWDC app thinning video, what I learned is that for any user created data format you can create a Data Asset and set the corresponding key to allow slice for different device. My question is, how should I set it up so that a data can be downloaded by 32bit devices ( which is non-metal ) but are not downloaded by 64bit devices( which with metal support ).
In the Asset Catalog Reference document, Data Asset can set "graphics-feature-set". Here is the full description of this key values:
Tag not included: The data item works with any device that has at least OpenGL ES 2.0.
metal1v2: The data set requires the A7 chip and Metal version 2. Corresponds to MTLFeatureSet_iOS_GPUFamily1_v2.
metal2v2: The data set requires the A8 chip and Metal version 2. Corresponds to the MTLFeatureSet_iOS_GPUFamily2_v2.
metal3v1: The data set requires the A9 chip and Metal version 3. Corresponds to the MTLFeatureSet_iOS_GPUFamily3_v1.
Seems like for data asset, this is the only way to differentiate the metal and non-metal devices. So how should I set up a data asset to make it only sliced for non-metal device? If I didn't include the tag, the data will still be downloaded for metal devide or not? Does anyone try this before? Any extra information is highly appreciated.