A collection of properties used to initialize a web view.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
WKWebViewConfiguration class, you can determine how soon a webpage is rendered, how media playback is handled, the granularity of items that the user can select, and many other options.
WKWebViewConfiguration is only used when a web view is first initialized. You cannot use this class to change the web view's configuration after it has been created.
Configuring the New Web View’s Properties
Determining Webpage Scalability
Setting Rendering Preferences
Setting Media Playback Preferences
Setting Selection Granularity
Selecting User Interface Directionality
Adding Handlers for New URL Schemes
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.
WKWindowFeatures object specifies optional attributes for the containing window when a new web view is requested.
An object that displays interactive web content, such as for an in-app browser.
WKUIDelegate class provides methods for presenting native user interface elements on behalf of a webpage.