timeSensitive constant

InterruptionLevel const timeSensitive

The system presents the notification immediately, lights up the screen, and can play a sound, but won’t break through system notification controls.

In order for this to work, the 'Time Sensitive Notifications' capability needs to be added to the iOS project. See https://help.apple.com/xcode/mac/current/#/dev88ff319e7

https://developer.apple.com/documentation/usernotifications/unnotificationinterruptionlevel/timesensitive

Implementation

static const InterruptionLevel timeSensitive = InterruptionLevel(2);