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

# attachments

The visual and audio attachments to display alongside the notification’s main content.

## Declaration

```swift
var attachments: [UNNotificationAttachment] { get }
```

## Discussion

Discussion Use this property to retrieve the images, movies, and audio files associated with your notification’s content. A notification content app extension might use these values to add the associated content to its view controller.

## See Also

### Accessing supplementary content

- [userInfo](usernotifications/unnotificationcontent/userinfo.md)
