Instance Property


The name of the launch image to display when your app is launched in response to the notification


var launchImageName: String { get }


If you specify a value for this property, the system displays the specified image or storyboard when your app is launched because of a notification. The string in this property must match the name of an image file or storyboard in your app’s bundle.

See Also

Getting the Notification Data

var title: String

A short description of the reason for the alert.

var subtitle: String

A secondary description of the reason for the alert.

var body: String

The message displayed in the notification alert.

var badge: NSNumber?

The number to display as the app’s icon badge.

var sound: UNNotificationSound?

The sound to play when the notification is delivered.

var userInfo: [AnyHashable : Any]

A dictionary of custom information associated with the notification.

var attachments: [UNNotificationAttachment]

An array of attachments to display with the notification.