Opt into app thinning for icons in asset catalog in existing project
Asked Answered
A

1

6

At WWDC 2017 Session 201 What's New in Cocoa Touch, around the 33:50 mark, it is stated that "By incorporating [icons] in Asset Catalogs, we're now able to have them participate in the app thinning, which will significantly lower your app's footprint. So, this is a really exciting thing to adopt, and it will be adopted by default in new projects in iOS 11. You can opt into it in existing projects by adding a key to your Info.plist."

What is the key you need to add in your Info.plist to enable app thinning for icons in Assets Catalogs in your existing projects? I'm not seeing it defined in the Information Property List Key Reference.

Astrology answered 14/8, 2017 at 0:16 Comment(1)
Has anybody figured out this plist key to enable app thinning for icons? She definitely mentions it in the video, but I can't find a reference anywhere.Barbette
K
-1

You need to use an asset catalog for your app icon to participate in app thinning. Its not in info.plist but a setting at the target level on your project file.

Kopeck answered 14/12, 2017 at 6:22 Comment(1)
What setting you mean? See also: #50651297Fanatic

© 2022 - 2024 — McMap. All rights reserved.