CPAlertActionStyle 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
枚举 CarPlay.CPAlert 对象的操作按钮的样式。
[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 =
- 继承
-
CPAlertActionStyle
- 属性
字段
Cancel | 1 | 为警报提供取消操作时使用的样式。 |
Default | 0 | 默认样式。 |
Destructive | 2 | 操作具有破坏性时使用的样式,例如删除数据。 |