Freigeben über


CPAlertActionStyle Enumeration

Definition

Listet die Stile für die Aktionsschaltfläche eines T:CarPlay.CPAlert-Objekts auf.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CPAlertActionStyle
type CPAlertActionStyle = 
Vererbung
CPAlertActionStyle
Attribute

Felder

Cancel 1

Der Stil, der beim Bereitstellen einer Abbruchaktion für die Warnung verwendet wird.

Default 0

Der Standardstil.

Destructive 2

Der Stil, der verwendet wird, wenn die Aktion destruktiv ist, z. B. das Löschen von Daten.

Gilt für: