on-demand-resources

Implement app thinning in iphone application

廉价感情. 提交于 2019-12-02 05:06:18
问题 My iOS application's size is quite bigger on app store. How can I lower achieve the app thinning so that application size get lower. Note :- I am already using Images.xcassets to put x/2x/3x images separately. I also read this apple documentation and take care of optimisation level build settings. I am also using an 8-bit PNG instead of a 32-bit PNG. 回答1: App slicing is currently not working until further notice. The only way to reduce your app size is currently to reduce the amount of assets

Implement app thinning in iphone application

折月煮酒 提交于 2019-12-01 23:04:05
My iOS application's size is quite bigger on app store. How can I lower achieve the app thinning so that application size get lower. Note :- I am already using Images.xcassets to put x/2x/3x images separately. I also read this apple documentation and take care of optimisation level build settings. I am also using an 8-bit PNG instead of a 32-bit PNG. App slicing is currently not working until further notice. The only way to reduce your app size is currently to reduce the amount of assets included in the .ipa. You could try using On Demand Resources if they make sense for your app. Searching

accessing and downloading on demand resources iOS9

若如初见. 提交于 2019-12-01 19:32:45
I am trying to implement new iOS9 feature app thinning, I understood how tag an image and enable on demand resource in Xcode 7 but I don't understand how to implement NSBundleResourceRequest in my app, can someone help me, that would greatly appreciated First, check if the resources are available. Else download them. Here is the swift code I use let tags = NSSet(array: ["tag1","tag2"]) let resourceRequest = NSBundleResourceRequest(tags: tags as! Set<String>) resourceRequest.conditionallyBeginAccessingResourcesWithCompletionHandler {(resourcesAvailable: Bool) -> Void in if resourcesAvailable {