Contents

WKWebpagePreferences

An object that specifies the behaviors to use when loading and rendering page content.

Declaration

@MainActor class WKWebpagePreferences

Overview

Create a WKWebpagePreferences object when you want to change the default rendering behavior of your web view. Typically, iOS devices render web content for a mobile experience, and Mac devices render content for a desktop experience.

Topics

Setting the JavaScript preferences

Setting the preferred content mode

Getting Lockdown Mode info

Instance Properties

Enumerations

See Also

Web view configuration