Contents

shouldAlert

A Boolean value that indicates the recommended alerting behavior.

Declaration

var shouldAlert: Bool { get }

Discussion

Use this property to closely match the iPhone’s alerting behavior. The system sets this value based on notification settings, device Focus state, and other alerting factors.

See Also

Determining alerting behavior