You cannot change your app icon with an image downloaded from a server at runtime. From the documentation:
You must declare your app's primary and alternate icons using the CFBundleIcons
key of your app's Info.plist
file. For information about how to configure alternate icons for your app, see the description of the CFBundleIcons
key in Information Property List Key Reference.
In order to dynamically set an app icon, you must be able to define it in your Info.plist
, but your Info.plist
is included in your app bundle, and your app bundle is read-only, so you do not have runtime write access to your Info.plist
file. Thus, you cannot change your app icon to an image dynamically downloaded at runtime