Contents

mediaType

The media type for the contents of the web view.

Declaration

var mediaType: String? { get set }

Discussion

When the value of this property is nil, the web view derives the current media type from the CSS media property of its content. If you assign a value other than nil to this property, the web view uses the value you provide instead. The default value of this property is nil.

See Also

Inspecting the view information