WKPreferences
An object that encapsulates the standard behaviors to apply to websites.
Declaration
@MainActor class WKPreferencesOverview
Use a WKPreferences object to specify the preferences for your website, including the minimum font size, the JavaScript behavior, and the behavior for handling fraudulent websites. Create this object and assign it to the preferences property of the WKWebViewConfiguration object you use to create your web view.
Topics
Setting Rendering Preferences
Setting Behavior Preferences
tabFocusesLinksisTextInteractionEnabledisElementFullscreenEnabledinactiveSchedulingPolicyWKPreferences.InactiveSchedulingPolicy