VSAlertControllerStyle
enum VSAlertControllerStyle {}
An enumeration describing the kinds of alerts that VSAlertController can display
- VSAlertControllerStyleAlert: A standard alert, 270pt wide, variable height. Supports texts fields.
- VSAlertControllerStyleWalkthroughAlert: A wider alert that stretches to the margins of the device - 18pt in either direction. Supports text fields, useful for onboarding. 500pt wide on iPad.
- VSAlertControllerStyleActionSheet: An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
-
A standard alert, 270pt wide, variable height. Supports text fields
Declaration
Objective-C
VSAlertControllerStyleAlert
-
A wider alert that stretches to the margins of the device - 18pt in either direction. Supports text fields, useful for onboarding. 500pt wide on iPad.
Declaration
Objective-C
VSAlertControllerStyleWalkthroughAlert
-
An alert that appears at the bottom of the display, similar to Apple’s action sheet stlye. Does NOT support text fields.
Declaration
Objective-C
VSAlertControllerStyleActionSheet