Are alternate app icons supported for visionOS apps?

I have ported my app to visionOS but have not been able to get alternate app icons working using UIApplication.shared.setAlternateIconName. I remember many months ago when I ran the iPad app directly, changing the app icon worked but I never managed to get it to work for native visionOS apps. Is this not supported for apps compiled natively for visionOS?

Answered by Vision Pro Engineer in 777563022

As @rmahmud28 showed, they're not available in visionOS. Thanks for bringing up the confusion with the documentation. Please file a bug report at https://feedbackassistant.apple.com and paste the FB number in here - I'll make sure it gets to the right people to get clarified

I have noticed on this page that the app icon can be changed on visionOS. But when I try to use UIApplication.shared.setAlternateAppIcon I get an error on the log saying the feature isn’t supported.

Could anyone from Apple please clarify this?

No, UIApplication.shared.supportsAlternateIcons returns false on visionOS, as of now.

Accepted Answer

As @rmahmud28 showed, they're not available in visionOS. Thanks for bringing up the confusion with the documentation. Please file a bug report at https://feedbackassistant.apple.com and paste the FB number in here - I'll make sure it gets to the right people to get clarified

Are alternate app icons supported for visionOS apps?
 
 
Q