mediaType property

String? mediaType
getter/setter pair

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

NOTE: available on iOS 14.0+.

Implementation

String? mediaType;