Share via


UIAlertViewStyle Enum

Definition

The visual style for a UIAlertView.

[ObjCRuntime.Native]
public enum UIAlertViewStyle
[<ObjCRuntime.Native>]
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