Contents

setMIMETypesShownAsHTML(_:)

Sets the MIME types that WebKit attempts to render as HTML.

Declaration

class func setMIMETypesShownAsHTML(_ MIMETypes: [Any]!)

Parameters

  • MIMETypes:

    An array of NSString objects representing the MIME types. Typically, you create the MIMETypes array by adding additional types to the array returned by the Mimetypesshownashtml() class method.

See Also

Getting and Setting Content Information