I cannot change the application icon to an alternate icon in iOS 11 (Xcode 9, beta 3).
However, it works fine in iOS 10.3 (with the following code):
if #available(iOS 10.3, *) { guard let iconName = MySingletonClass.sharedInstance.iconName() else { return } delay(0.01) { UIApplication.shared.setAlternateIconName(iconName, completionHandler: { (error) in if let error = error { print(error.localizedDescription) } else { print("Success!") } }) } } else {
My plist is configured like this:

I find this strange because I used other applications that use alternative application icons in iOS 11. Is there a known bug with this in iOS 11?
Note. If you are wondering why I use delay, see this post.
source share