defaultWebpagePreferences
The default preferences to use when loading and rendering content.
Declaration
@NSCopying var defaultWebpagePreferences: WKWebpagePreferences! { get set }Discussion
Use this property to specify the JavaScript settings and content mode for new webpages. When the web view navigates to a new page, it passes the default preferences to its navigation delegate, which can modify the preferences or pass them as they are.