<!--
{
  "availability" : [
    "iOS: 16.1.0 -",
    "iPadOS: 16.1.0 -",
    "macCatalyst: 27.3.0 -",
    "macOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ActivityKit",
  "identifier" : "/documentation/ActivityKit/AlertConfiguration/init(title:body:sound:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "ActivityKit"
    ],
    "preciseIdentifier" : "s:11ActivityKit18AlertConfigurationV5title4body5soundAC10Foundation23LocalizedStringResourceV_AiC0C5SoundVtcfc"
  },
  "title" : "init(title:body:sound:)"
}
-->

# init(title:body:sound:)

Initializes a new alert configuration for a Live Activity update.

```
init(title: LocalizedStringResource, body: LocalizedStringResource, sound: AlertConfiguration.AlertSound)
```

## Parameters

`title`

The short title that describes the purpose of the Live Activity update.

`body`

The main text of the alert for a Live Activity update.

`sound`

The sound that the system plays when the alert appears on a person’s device.

---

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)