Instance Property

launchImageName

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

Declaration

@property(copy, nonatomic) NSString *launchImageName;

Discussion

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. Specify nil to use the app’s default launch image. The default value of this property is nil.

See Also

Getting the Notification Data

title

The localized title, containing the reason for the alert.

subtitle

The localized subtitle, containing a secondary description of the reason for the alert.

body

The localized message to display in the notification alert.

badge

The number to apply to the app’s icon.

sound

The sound to play when the notification is delivered.

userInfo

A dictionary of custom information associated with the notification.

attachments

An array of attachments to display in an alert-based notification.