Contents

allowedContentTypes

The types of data that are accepted as a valid response for the requested resource.

Declaration

var allowedContentTypes: [String]? { get }

Discussion

This property contains an array of file format UTIs. When allowedContentTypes is non-nil, the value of contentType must be set to a value contained in allowedContentTypes or nil.

See Also

Configuring content information