---
title: contentType
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetresource/contenttype
---

# contentType

The content type of the data associated with this asset resource (the data can be retrieved via PHAssetResourceManager)

## Declaration

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

## See Also

### Inspecting an Asset Resource

- [type](photos/phassetresource/type.md)
- [PHAssetResourceType](photos/phassetresourcetype.md)
- [assetLocalIdentifier](photos/phassetresource/assetlocalidentifier.md)
- [uniformTypeIdentifier](photos/phassetresource/uniformtypeidentifier.md)
- [originalFilename](photos/phassetresource/originalfilename.md)
- [pixelHeight](photos/phassetresource/pixelheight.md)
- [pixelWidth](photos/phassetresource/pixelwidth.md)
