Instance Property


The uniform type identifier for the resource.


var uniformTypeIdentifier: String? { get set }


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

var originalFilename: String?

The filename for the asset resource being created.