My question is about changing default icon.png content programmatically.
- I have free application with Icon (with Lite/Free word inside)
- I have In-App purchase inside this app (buy full version)
- I click and accept this purchase
- Some app content is unlocked
- Also, I want my default Icon.png to be changed as well (replace it with NON Lite/Free word inside for example)
I saw this approach in some games but did not buy them to see the results.
You cannot change the application’s icon at runtime. This is because it is in the application’s bundle, which cannot be modified. Access to the application’s bundle is restricted for security. Each bundle is code-signed by a certificate obtained through Apple’s developer portal, which guarantees this condition.
To conclude, any files inside the application’s bundle, like icons, or the Info.plist file, cannot be changed.