Upravit

Sdílet prostřednictvím


UIActionSheetStyle Enum

Definition

The visual style for a UIActionSheet.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIActionSheetStyle
type UIActionSheetStyle = 
Inheritance
UIActionSheetStyle
Attributes

Fields

Name Value Description
Automatic -1

Same as Default default.

Default 0

The default style takes appearance of the bottom bar.

BlackOpaque 1

A black, opaque style.

BlackTranslucent 2

A background with some amount of translucence.

Remarks

The values of Automatic and Default are the same.

In this image, the left phone is displaying with BlackTranslucent style and the right with BlackOpaque style.

Applies to

See also

  • <xref:UIKit.UIActionSheet%2bUIActionSheetAppearance>