alertStyle
The type of alert that the app may display when the device is unlocked.
Declaration
var alertStyle: UNAlertStyle { get }Discussion
When alerts are authorized, this property specifies the presentation style for alerts when the device is unlocked. The user may choose to display alerts as automatically disappearing banners or as modal windows that require explicit dismissal. The user may also choose not to display alerts at all.