Icons, Asset Catalog and Info.plist confusion

前端 未结 3 1017
误落风尘
误落风尘 2021-02-09 01:21

I have an app that started life for iOS 5 and has been updated ever since. For iOS 7 I have switched over to using an Asset Catalog for all the resources, which is nice and appe

3条回答
  •  無奈伤痛
    2021-02-09 01:31

    Okay, so here is what I ended up doing. I'm not 100% sure it's correct but I thought that it was worth sharing.

    • I removed CFBundleIconFile, which I don't think is used in iOS 6 and above
    • I used the asset name rather than the icon filename in CFBundleIconFiles

    I'm not clear what the proper names are so, for the sake of clarity: by icon filename I mean the name visible in the Attribute Inspector of the Asset Catalog when the icon is selected; and by asset name I mean AppIcon, which refers to seven actual icons in my case.

    This both passes Apple's validation step and appears to look okay. I don't currently have an iOS 6 device but it displays correctly in the Simulator.

提交回复
热议问题