ios 11 [UIApplication setAlternateIconName:completionHandler] works only if invoked with delay.

Originator:michael
Number:rdar://34279624 Date Originated:
Status:open Resolved:
Product:ios+sdk Product Version:ios 11 beta 9
Classification: Reproducible:
 
Area:
UIKit

Summary:
Setting alternate icon by invoking [UIApplication setAlternateIconName:completionHandler] only works if invoked with delay, using
dispatch_after function.

Steps to Reproduce:
invoke [UIApplication setAlternateIconName:completionHandler] without a delay.

Expected Results:
Application icon is updated with alternate icon according to given name.

Actual Results:
Application icon is not updated and completion handler is called with general error.

Version/Build:
ios 11 beta 9 build 15A5370a

Configuration:
iphone 6s

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!