Contents

soundName

The name of the sound file to play when a notification arrives.

Declaration

var soundName: String? { get }

Discussion

The system uses this property’s value to locate a sound file in the app’s bundle. The sound plays when the system receives a push notification. If the system can’t find the specified file, or if the property’s value is the string default, the system plays the default sound.

See Also

Accessing the Notification Info