Class

WKPreferences

A WKPreferences object encapsulates the preference settings for a web view.

Declaration

@interface WKPreferences : NSObject

Overview

The preferences object associated with a web view is specified by its web view configuration.

Topics

Setting Rendering Preferences

minimumFontSize

The minimum font size in points.

Setting Java and JavaScript Preferences

javaEnabled

A Boolean value indicating whether Java is enabled.

Deprecated
javaScriptCanOpenWindowsAutomatically

A Boolean value indicating whether JavaScript can open windows without user interaction.

javaScriptEnabled

A Boolean value indicating whether JavaScript is enabled.

plugInsEnabled

A Boolean value indicating whether plug-ins are enabled.

Deprecated

Relationships

Inherits From

Conforms To

See Also

Initialization

WKNavigationDelegate

The methods of the WKNavigationDelegate protocol help you implement custom behaviors that are triggered during a web view's process of accepting, loading, and completing a navigation request.

WKProcessPool

A WKProcessPool object represents a pool of Web Content processes.

WKWindowFeatures

A WKWindowFeatures object specifies optional attributes for the containing window when a new web view is requested.

WKWebView

An object that displays interactive web content, such as for an in-app browser.

WKWebViewConfiguration

A collection of properties used to initialize a web view.

WKUIDelegate

The WKUIDelegate class provides methods for presenting native user interface elements on behalf of a webpage.