AlertUI
public protocol AlertUI : ConnectUIElement
User interface to present an alert to the user.
Objects conforming to this protocol are vended by the ConnectUI instance.
-
Creates a new alert with the specified elements.
Declaration
Swift
static func create(icon: AlertIcon, title: String?, message: String?, actions: [AlertAction]) -> SelfParameters
iconThe icon to display in the alert
titleAn optional title to display in the alert
messageAn optional message to display in the alert
actionsAn array up to two actions to display in the alert. The position, layout, and display of the actions are specified by the action style.
AlertUI Protocol Reference