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

# type

The UTI type of the attachment.

## Declaration

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

## Discussion

Discussion The system derives the value of this property from the attachment data.

## See Also

### Getting the Attachment Contents

- [identifier](usernotifications/unnotificationattachment/identifier.md)
- [url](usernotifications/unnotificationattachment/url.md)
