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

# body

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

## Declaration

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

## Discussion

Discussion Use this property to specify the body of the notification alert. If your app isn’t authorized to display alert-based notifications, the system ignores this property. The body text should contain the final text that you want to display, and shouldn’t contain any placeholder characters. To include a percent symbol (%) in the message body, use two percent symbols (%%). The system strips all other printf style escape characters from your string prior to display.

## See Also

### Providing the primary content

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