Enumeration

UNShowPreviewsSetting

Constants indicating the style previewing a notification's content.

Declaration

typedef enum UNShowPreviewsSetting : NSInteger {
    ...
} UNShowPreviewsSetting;

Topics

Preview Styes

UNShowPreviewsSettingAlways

The notification's content is always shown, even when the device is locked.

UNShowPreviewsSettingWhenAuthenticated

The notification's content is shown only when the device is unlocked.

UNShowPreviewsSettingNever

The notification's content is never shown, even when the device is unlocked

See Also

Getting Interface Settings

alertStyle

The type of alert that the app may display when the device is unlocked.

UNAlertStyle

Constants indicating the presentation styles for alerts.

showPreviewsSetting

The setting that indicates whether the app shows a preview of the notification's content.

providesAppNotificationSettings

A Boolean value indicating the system displays a button for in-app notification settings.