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

# title

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

## Declaration

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

## Discussion

Discussion When a title is present, the system attempts to display a 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

### Accessing the primary content

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