UIAlertViewStyle Enum

Definition

The visual style for a UIAlertView.

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

Fields

Name Value Description
Default 0

A standard alert.

SecureTextInput 1

Allows the user to enter text, but the text field is obscured.

PlainTextInput 2

Allows the user to enter text.

LoginAndPasswordInput 3

Allows the user to enter a login id and a password.

Remarks

The values other than Default allow the user to enter text, including the option to obscure the text as it is being entered.

Applies to

See also