Contents

hasActionButton

A Boolean value that specifies whether the notification displays an action button.

Declaration

var hasActionButton: Bool { get set }

Discussion

Set to false if the notification has no action button. This is the case for notifications that are purely for information and have no user action. The default value is true.

See Also

Displayed Notification Buttons