Instance Property

showPreviewsSetting

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

Declaration

var showPreviewsSetting: UNShowPreviewsSetting { get }

See Also

Getting Interface Settings

var alertStyle: UNAlertStyle

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

enum UNAlertStyle

Constants indicating the presentation styles for alerts.

enum UNShowPreviewsSetting

Constants indicating the style previewing a notification's content.

var providesAppNotificationSettings: Bool

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software