Editar

Compartir a través de


UIApplication.SetAlternateIconName(String, Action<NSError>) Method

Definition

Sets the name of the alternate icon.

[Foundation.Export("setAlternateIconName:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetAlternateIconName (string alternateIconName, Action<Foundation.NSError> completionHandler);
abstract member SetAlternateIconName : string * Action<Foundation.NSError> -> unit
override this.SetAlternateIconName : string * Action<Foundation.NSError> -> unit

Parameters

alternateIconName
String

The name of the new alternate icon. This parameter can be .

This parameter can be null.

completionHandler
Action<NSError>

A handler to run after the operation completes.

This parameter can be null.

Attributes

Applies to