Class WKWeb View Configuration
A collection of properties used to initialize a web view.
Declaration @interface 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.
WKWeb View Configuration
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.
Topics Configuring the New Web View’s Properties preferences
The preference object to be used by the web view.
The process pool from which to obtain the view’s Web Content process.
Determining Webpage Scalability Setting Rendering Preferences Setting Media Playback Preferences allows Inline Media Playback
A Boolean value indicating whether HTML5 videos play inline or use the native full-screen controller.
requires User Action For Media Playback
A Boolean value indicating whether HTML5 videos require the user to start playing them (
) or whether the videos can be played automatically (
NO Deprecated Setting Selection Granularity selection Granularity
The level of granularity with which the user can interactively select content in the web view.
Selecting User Interface Directionality Adding Handlers for New URL Schemes See Also Initialization WKNavigation Delegate
The methods of the
protocol help you implement custom behaviors that are triggered during a web view's process of accepting, loading, and completing a navigation request.
WKNavigation Delegate WKProcess Pool
object represents a pool of Web Content processes.
WKProcess Pool WKWindow Features
object specifies optional attributes for the containing window when a new web view is requested.
WKWindow Features WKWeb View
An object that displays interactive web content, such as for an in-app browser.
object encapsulates the preference settings for a web view.
class provides methods for presenting native user interface elements on behalf of a webpage.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software