---
title: contentType
framework: testing
role: symbol
role_heading: Instance Property
path: testing/attachableimageformat/contenttype
---

# contentType

The content type corresponding to this image format.

## Declaration

```swift
var contentType: UTType { get }
```

## Discussion

Discussion For example, if this image format equals png, the value of this property equals UTType.png. The value of this property always conforms to UTType.image.
