Change App icon programmatically

I would like to know if its possible to make a generic app where people with a user and password, once they are logged, the app icon can change automatically
Answered by OOPer in 667051022

if its possible to make a generic app where people with a user and password, once they are logged, the app icon can change automatically

Not possible. Better find other ways.
Accepted Answer

if its possible to make a generic app where people with a user and password, once they are logged, the app icon can change automatically

Not possible. Better find other ways.

It is possible to build an iOS app that has a default app icon, and then based on your custom application logic, change the icon programmatically using setAlternateApplicationIconName (https://developer.apple.com/documentation/uikit/uiapplication/2806818-setalternateiconname)

You can take a look at this blog: https://www.hackingwithswift.com/example-code/uikit/how-to-change-your-app-icon-dynamically-with-setalternateiconname

Change App icon programmatically
 
 
Q