Contents

canShowMIMEType(_:)

Returns whether the receiver can display content of a given MIME type.

Declaration

class func canShowMIMEType(_ MIMEType: String!) -> Bool

Parameters

  • MIMEType:

    The MIME type of the content.

Return Value

true if the receiver can display content of the specified MIME type where MIMEType is one of the standard types like “image/gif”; otherwise, false.

See Also

Getting and Setting Content Information