Can I change app icon programmatically

后端 未结 8 2142
执笔经年
执笔经年 2020-11-30 11:44

I have two app icons built-in (free and premium), is it possible to replace free icon to premium icon programmatically after in-app purchase is completed successfully?

8条回答
  •  生来不讨喜
    2020-11-30 12:11

    No, definitely not. That part of the application bundle is read-only, and also code signed.

    The answer regarding the TapOne app is something completely different. It creates "web clips" to web sites or phone numbers. For example, to create an iPhone icon for your website, you would add something like this to your web page header:

    
    

    There is more info available here: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html

    TapOne and web clips do not programmatically change the icon within an application bundle.

提交回复
热议问题