lockScreenSetting
The setting that indicates whether your app’s notifications appear on a device’s Lock screen.
Declaration
var lockScreenSetting: UNNotificationSetting { get }Discussion
Even if the user disables lock screen notifications, your notifications may still appear onscreen when the device is unlocked.