---
title: supportedContentTypes
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uidocumentbrowseraction/supportedcontenttypes
---

# supportedContentTypes

An array of uniform type identifiers that define the types of documents that the action supports.

## Declaration

```swift
var supportedContentTypes: [String] { get set }
```

## Discussion

Discussion The action can be triggered only on documents that are allowed by both the action’s supportedContentTypes property and the document browser’s allowedContentTypes property. By default, this property contains only the public.item uniform type identifier (UTI)—indicating that there are no additional restrictions on document types. To further restrict the supported documents, assign an array that contains a more restricted set of UTIs. These UTIs should define a subset of the UTIs supported by the document browser. For more about UTIs, see Uniform Type Identifiers Reference.

## See Also

### Creating and configuring actions

- [init(identifier:localizedTitle:availability:handler:)](uikit/uidocumentbrowseraction/init(identifier:localizedtitle:availability:handler:).md)
- [image](uikit/uidocumentbrowseraction/image.md)
- [supportsMultipleItems](uikit/uidocumentbrowseraction/supportsmultipleitems.md)
