Now that you can change app icons in iOS I am wondering if they need to be images already included in the bundle or if I can dynamically create an image file in code and assign it as the app icon?
Asked
Active
Viewed 141 times
2
-
2According to https://stackoverflow.com/a/41951099/1187415, you can't. – Martin R Aug 05 '17 at 18:23
-
Apple stopped allowing this a loooong time ago. – meaning-matters Aug 05 '17 at 18:32
-
On a side note: if you want to create this sort of behaviour for your app, you might want to develop an app widget. – Tamás Sengel Aug 05 '17 at 22:50
1 Answers
1
The image must already be included in the bundle.
You can use UIApplication.setAlternateIconName
to change the icon easily, but you would want to read up on the common pitfalls.

samwize
- 25,675
- 15
- 141
- 186