Instance Property

showPreviewsSetting

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

Declaration

iOS, Mac Catalyst
@property(readonly, nonatomic) UNShowPreviewsSetting showPreviewsSetting;
macOS
@property(readonly, atomic) UNShowPreviewsSetting showPreviewsSetting;

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.

UNShowPreviewsSetting

Constants indicating the style previewing a notification's content.

providesAppNotificationSettings

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