UIApplication

extension UIApplication
  • Gets or sets an alternate icon to use

    Declaration

    Swift

    public var alternateIcon: Icon? { get set }
  • Sets a new alternate icon

    Declaration

    Swift

    public func setAlternateIcon(_ icon: Icon?, completionHandler: ((_ error: Swift.Error?) -> Void)? = nil)

    Parameters

    icon

    Icon to set; use nil to restore the default

    completionHandler

    optional completion handler