Dynamic App Icon in iOS App

Samrith Yoeun
2 min readMay 4, 2020

App Icon is the first thing that users see when they install your app.
Modern iOS Development allow the developer to approach the user in a creative way which allow the app to change their icon programmatically.

There are a few app that using this approach, including Calendar and Telegram.

Now, I would like to tell you on how to implement dynamic icons for your application.

Prerequision for Dyanamic AppIcon feature (AlternativeIcons):

  • iOS 10.3 or later
  • 2x and 3x app icon files

Things to do:

  • import 2x and 3x icon files to your project
  • modified info plist and add the correct info plist value that associate with your AppIcon files
  • change your app Icon dynamically via code:
  • run your app and see the result 🎉

*** for the full source code please check it in GitHub

***for more info please refer to apple documenation

--

--