---
title: title
framework: usernotifications
role: symbol
role_heading: Instance Property
path: usernotifications/unmutablenotificationcontent/title
---

# title

The localized text that provides the notification’s primary description.

## Declaration

```swift
var title: String { get set }
```

## Discussion

Discussion Use this property to specify the title of your notification alert. If your app isn’t authorized to display alert-based notifications, the system ignores this property. Title strings should be short, usually only a couple of words describing the reason for the notification. In watchOS, the system displays the title string as part of the short look notification interface, which has limited space.

## See Also

### Providing the primary content

- [subtitle](usernotifications/unmutablenotificationcontent/subtitle.md)
- [body](usernotifications/unmutablenotificationcontent/body.md)
