<!--
{
  "availability" : [
    "iOS: 16.1.0 -",
    "iPadOS: 16.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ActivityKit",
  "identifier" : "/documentation/ActivityKit/AlertConfiguration/AlertSound/named(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "ActivityKit"
    ],
    "preciseIdentifier" : "s:11ActivityKit18AlertConfigurationV0C5SoundV5namedyAESSFZ"
  },
  "title" : "named(_:)"
}
-->

# named(_:)

A function you use to configure a custom sound for a Live Activity update alert.

```
static func named(_ name: String) -> AlertConfiguration.AlertSound
```

## Parameters

`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/Sounds` folder of your app’s data container.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)