Type Method

canShowMIMEType(asHTML:)

Returns whether the receiver interprets a MIME type as HTML.

Declaration

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

Parameters

MIMEType

The MIME type of the content.

Return Value

true if the receiver interprets MIMEType as HTML; otherwise, false.

See Also

Getting and Setting Content Information

class func canShowMIMEType(String!) -> Bool

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

Deprecated
class func mimeTypesShownAsHTML() -> [Any]!

Returns a list of MIME types that WebKit renders as HTML.

Deprecated
class func setMIMETypesShownAsHTML([Any]!)

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

Deprecated
var supportsTextEncoding: Bool

A Boolean that indicates whether the document view supports different text encodings.

Deprecated
var customTextEncodingName: String!

The custom text encoding name.

Deprecated
var textSizeMultiplier: Float

The font size multiplier for text displayed in web frame view objects managed by the receiver.

Deprecated