CreationKit Documentation

Enumeration Modal​Dialog.​Style

public enum Style  

The style of the modal dialog.

The value of this property is set to the value you specified in the init(title:message:preferredStyle:) method. This value determines how the alert is displayed onscreen.

Member Of

ModalDialog

Use this class to configure alerts with the message that you want to display and the actions from which to choose. After configuring the dialog with the actions and style you want, present it using the present(_:animated:, completion:) method. CreationKit displays dialogs modally over your app's content.

Enumeration Cases

alert

case alert

An alert displayed modally for the app.

action​Sheet

case actionSheet

An action sheet displayed in the context of the view controller that presented it.

date​Picker

case datePicker