preferences
The object that manages the preference-related settings for the web view.
Declaration
var preferences: WKPreferences { get set }Discussion
Use the preferences object in this property to customize the rendering, JavaScript, and other preferences related to your web view. You can also change the preferences by assigning a new WKPreferences object to this property.