---
title: uniformTypeIdentifier
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetresourcecreationoptions/uniformtypeidentifier
---

# uniformTypeIdentifier

The uniform type identifier for the resource.

## Declaration

```swift
var uniformTypeIdentifier: String? { get set }
```

## Discussion

Discussion If you do not specify a value for this property, Photos infers the data type from the PHAssetResourceType value you specify when adding the resource to a creation request. For details in uniform type identifiers, see Uniform Type Identifiers Overview.

## See Also

### Describing a New Asset Resource

- [originalFilename](photos/phassetresourcecreationoptions/originalfilename.md)
- [contentType](photos/phassetresourcecreationoptions/contenttype.md)
