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

# contentType

The type of data being provided for this asset resource. If not specified, one will be inferred from the PHAssetResourceType or file URL extension (if provided).

## Declaration

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

## See Also

### Describing a New Asset Resource

- [originalFilename](photos/phassetresourcecreationoptions/originalfilename.md)
- [uniformTypeIdentifier](photos/phassetresourcecreationoptions/uniformtypeidentifier.md)
