Contents

contentType

The item’s Uniform Type Identifier (UTI).

Declaration

@NSCopying optional var contentType: UTType { get }

Discussion

Your extension must provide either the typeIdentifier or the contentType property. Where possible, use the contentType property. Use the typeIdentifier property only in iOS 13 or earlier.

See Also

Providing Required Properties