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

# body

The localized text that provides the notification’s main content.

## Declaration

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

## Discussion

Discussion The body text contains the final text that you want to display. If your app isn’t authorized to display alert-based notifications, the system ignores this property. If you specified two percent symbols (%%) in the message body, the system replaces it with a single percent symbol (%). The system strips all other printf style escape characters from your string prior to display.

## See Also

### Accessing the primary content

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