Hello. I want to use an icon created with Icon Composer to change the app icon in my iOS 26 app.
UIApplication.shared.setAlternateIconName("AppIcon")
This code works with the icon included in Assets.xcassets (AppIconOld) and the default icon specified in Info.plist (AppIcon.icon), but it does not work with another icon (AppIconRed.icon).
All icon names (AppIconOld, AppIcon, AppIconRed) are included in the “Alternate App Icon Sets” in Build Settings.
Also, I can’t display the .icon file as an image. If I use the old method to load it as a UIImage, the image is retrieved, but its appearance is not accurate.