named(_:)
A function you use to configure a custom sound for a Live Activity update alert.
Declaration
static func named(_ name: String) -> AlertConfiguration.AlertSoundParameters
- name:
The name of the sound file to use for the alert. Choose a file that’s in your app’s main bundle or the
Library/Soundsfolder of your app’s data container.