Title: Theory / Important / CS / Programming / Objective-C / Library / UIKit / Webview

Typ: WKWebView
Meaning: a platform-native view that you use to incorporate web content seamlessly into your app’s UI.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc

Typ: WKWebViewConfiguration
Meaning: information about how to configure a WKWebView object

Question: When can webkit configuration be set
Answer: only before starting the webkit view, with WKWebViewConfiguration

Variable: webViewConfiguration.websiteDataStore
Meaning: The object you use to get and set the site’s cookies and to track the cached data objects. Allow to have one for just this session or use the system default one
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKWebsiteDataStore *
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.userContentController
Meaning: The object that coordinates interactions between your app’s native code and the webpage’s scripts and other content.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKUserContentController *
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.processPool
Meaning: The object that coordinates the processes the web view uses to render its web content and execute scripts.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKProcessPool
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.applicationNameForUserAgent
Meaning: The app name that appears in the user agent string.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: NSString*
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.limitsNavigationsToAppBoundDomains
Meaning: whether the web view limits navigation to pages within the app’s domain.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.preferences
Meaning: The object that manages the preference-related settings for the web view.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKPreferences
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.defaultWebpagePreferences
Meaning: The default preferences to use when loading and rendering content.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKWebpagePreferences *
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.ignoresViewportScaleLimits
Meaning: Whether a web view allows scaling of the webpage.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.suppressesIncrementalRendering
Meaning: whether the web view suppresses content rendering until the content is fully loaded into memory.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration
Initialization: No

Variable: webViewConfiguration.allowsInlineMediaPlayback
Meaning: whether HTML5 videos play inline controller. Otherwise they would use the native full-screen controller
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration
Initialization: no iphone, yes ipad

Variable: webViewConfiguration.allowsAirPlayForMediaPlayback
Meaning: whether the web view allows media playback over AirPlay.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration
Initialization: yes

Variable: webViewConfiguration.allowsPictureInPictureMediaPlayback
Meaning: whether HTML5 videos can play Picture in Picture.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration
Initialization: YES

Variable: webViewConfiguration.mediaTypesRequiringUserActionForPlayback
Meaning: The media types that require a user gesture to begin playing.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKAudiovisualMediaTypes
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.dataDetectorTypes
Meaning: The types of data detectors to apply to the web view’s content.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKDataDetectorTypes
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.selectionGranularity
Meaning: The level of granularity with which the user can interactively select web view content.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Typ: WKSelectionGranularity
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.userInterfaceDirectionPolicy
Meaning: The directionality of user interface elements.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration

Variable: webViewConfiguration.upgradeKnownHostsToHTTPS
Meaning: Upgrade known hosts to https
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Variables: WKWebViewConfiguration webViewConfiguration

Typ: WKUserInterfaceDirectionPolicy
TypMeaning: The policy that determines the directionality of user interface elements in a web view.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Value: WKUserInterfaceDirectionPolicyContent
The directionality follows the CSS/HTML/XHTML specifications.
Value2: WKUserInterfaceDirectionPolicySystem
The directionality follows the view's user interface layout direction.

Typ: WKSelectionGranularity
TypMeaning: The granularity with which the user can select and modify web view content.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Value: WKSelectionGranularityDynamic
Granularity that varies automatically depending on the selection.
Value2: WKSelectionGranularityCharacter
Granularity that allows the user to place selection endpoints at any character boundary.

Typ: WKDataDetectorTypes
TypMeaning: The data detector types.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Value: WKDataDetectorTypeNone
No data detection.
Value2: WKDataDetectorTypePhoneNumber
Detect phone numbers in text and create a link to call the specified number.
Value3: WKDataDetectorTypeLink
Detect URLs in text and turn them into links.
Value4: WKDataDetectorTypeAddress
Detect addresses in text and turn them into links to display the location.
Value5: WKDataDetectorTypeCalendarEvent
Turn future dates and times into links to create calendar events.
Value6: WKDataDetectorTypeTrackingNumber
Detect tracking numbers in text and turn them into links.
Value7: WKDataDetectorTypeFlightNumber
Detect flight numbers in text and turn them into links.
Value8: WKDataDetectorTypeLookupSuggestion
Detect Spotlight suggestions and turn them into links.
Value9: WKDataDetectorTypeAll
Detect all data types and turn them into links.

Typ: WKAudiovisualMediaTypes
TypMeaning: The media types that require a user gesture to begin playing.
Page: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration?language=objcWKWebViewConfiguration
Value: WKAudiovisualMediaTypeNone
No media types require a user gesture to begin playing.
Value2: WKAudiovisualMediaTypeAudio
Media types that contain audio require a user gesture to begin playing.
Value3: WKAudiovisualMediaTypeVideo
Media types that contain video require a user gesture to begin playing.
Value4: WKAudiovisualMediaTypeAll
All media types require a user gesture to begin playing.

Instruction: [webView
  initWithFrame:frame
  configuration:configuration
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Returns: a web view and initializes it with the specified frame and configuration data.
Variables: WKWebView webView

Instruction: [webView
  initWithCoder:coder
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Returns: a web view initilaized with coder
Variables: WKWebView webView

Instruction: [webView
  loadRequest:request
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Loads the web content that the specified URL request object references and navigates to that content.
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  loadData:data
  MIMEType:MIMEType
  characterEncodingName:characterEncodingName
  baseURL:baseURL
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Loads the content of the specified data object and navigates to it.
Returns: A new navigation object for tracking the request.
Variables: WKWebView webView
Typ: WKNavigation *

Instruction: [webView
  loadHTMLString:string
  baseURL:baseURL
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Load the webpage as in string. URLs are resolved as if loaded from baseURL
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  loadFileRequest:request
  allowingReadAccessToURL:readAccessURL
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Loads the web content from the file at URL request object specifies and navigates to that content.
Allow to read all content from file/directory readAccessURL as necessary
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  loadFileURL:URL
  allowingReadAccessToURL:readAccessURL
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Loads the web content from the specified file and navigates to it. The webview is allowed to acceed all of readAccessURL's content that is necessary
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  loadSimulatedRequest:request
  response:response
  responseData:data
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Loads the web content data from response as if the data were the response to request.
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  loadSimulatedRequest:request
  responseHTMLString:string
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Loads the web content from the HTML string you provide as if the HTML were the response to the request.
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  reload
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Reloads the current webpage.
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  reload
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Reloads the current webpage with sender the object that sent the message
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  reloadFromOrigin
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible.
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  reloadFromOrigin:sender
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Reloads the current webpage, and performs end-to-end revalidation of the content using cache-validating conditionals, if possible. With sender the object that sent the message
Returns: A new navigation object that you use to track the loading progress of the request.
Variables: WKWebView webView

Instruction: [webView
  stopLoading
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Stops loading all resources on the current page.
Variables: WKWebView webView

Instruction: [webView
  stopLoading:sender
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Stops loading all resources on the current page with sender that sent the message.
Returns: IBAction
Variables: WKWebView webView

Instruction: [webView
  startDownloadUsingRequest:request
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Starts to download the resource at the URL in the request. Once done execute completionHandler
Variables: WKWebView webView

Instruction: [webView
  resumeDownloadFromResumeData:resumeData
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Resumes a failed or canceled download, using resumeData An object with data that you use to resume a failed or canceled download. Then execute completionHandler
Variables: WKWebView webView

Instruction: [webView
  setMagnification:magnification
  centeredAtPoint:point
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Scales the page content and centers the result on the specified point.
Variables: WKWebView webView

Instruction: [webView
  pauseAllMediaPlaybackWithCompletionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Pauses playback of all media in the web view.
Variables: WKWebView webView

Instruction: [webView
  requestMediaPlaybackStateWithCompletionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: execute completionHandler with the playback status of media in the web view.
Variables: WKWebView webView

Instruction: [webView
  setAllMediaPlaybackSuspended:suspended
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Changes whether the webpage is suspending playback of all media in the page. Once done, call completionHandler
Variables: WKWebView webView

Instruction: [webView
  closeAllMediaPresentationsWithCompletionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Closes all media the web view is presenting, including picture-in-picture video and fullscreen video. Then call completionHandler
Variables: WKWebView webView

Instruction: [webView
  setCameraCaptureState::state
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Changes whether the webpage is using the camera to capture images or video. Then call completionHandler
Variables: WKWebView webView

Instruction: [webView
  setMicrophoneCaptureState::state
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Changes whether the webpage is using the microphone to capture audio. Then call completionHandler
Variables: WKWebView webView

Instruction: [webView
  findString:string
  withConfiguration:configuration
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Searches for the specified string in the web view’s content. Send the result to completionHandler
Variables: WKWebView webView

Instruction: [webView
  goBack:sender
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Navigates to the back item in the back-forward list as requested by sender
Returns: IBAction
Variables: WKWebView webView

Instruction: [webView
  goBack
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Navigates to the back item in the back-forward list.
Returns: A new navigation to the requested item, or nil if there is no back item in the back-forward list.
Variables: WKWebView webView

Instruction: [webView
  goForward
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Navigates to the forward item in the back-forward list.
Returns: A new navigation to the requested item, or nil if there is no forward item in the back-forward list.
Variables: WKWebView webView

Instruction: [webView
  goForward:sender
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Navigates to the forward item in the back-forward list, as requested by sender
Returns: IBAction
Variables: WKWebView webView

Instruction: [webView
  goToBackForwardListItem:item
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Navigates to an item from the back-forward list and sets it as the current item.
Returns: A new navigation to the requested item, or nil if it is already the current item or is not part of the web view's back-forward list.
Variables: WKWebView webView

Instruction: [webView
  evaluateJavaScript:javaScriptString
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Evaluate javaScriptString and send its result or error to completionHandler
Variables: WKWebView webView

Instruction: [webView
  evaluateJavaScript:javaScriptString
  inFrame:frame
  inContentWorld:contentWord
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Evaluate javaScriptString in frame and namespace contentWorld. Result or error is sent to completionhandler
Variables: WKWebView webView

Instruction: [webView
  callAsyncJavaScript:functionBody
  arguments:arguments
  inFrame:frame
  inContentWorld:contentWord
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Evaluate functionBody with arguments in frame and namespace contentWorld. Result or error is sent to completionhandler
Variables: WKWebView webView

Instruction: [webView
  takeSnapshotWithConfiguration:snapshotConfiguration
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Generates a platform image from the webview and send it, or the error, to completionHandler
Variables: WKWebView webView

Instruction: [webView
  createPDFWithConfiguration:pdfConfiguration
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Generates PDF data from the web view’s contents asynchronously and send it to completionHandler
Variables: WKWebView webView

Instruction: [webView
  createWebArchiveDataWithCompletionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Effect: Creates a web archive of the web view’s contents asynchronously and send it to completionHandler
Variables: WKWebView webView

Instruction: [webView
  printOperationWithPrintInfo:printInfo
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Returns: the print operation object to use when printing the contents of the web view.
Variables: WKWebView webView

Instruction: [WKWebView
  handleURLScheme:urlScheme
]
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Returns: whether WebKit natively supports resources with the specified URL scheme.
Variables: WKWebView webView

Variable: webView.interactionState
Meaning: An object you use to capture the current state of interaction in a web view so that you can restore that state later to another web view.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.allowsLinkPreview
Meaning: whether pressing a link displays a preview of the destination for the link.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.allowsLinkPreview
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView
Initialization: yes on iOS 10 and later, no before

Variable: webView.canGoForward
Meaning: whether there is a valid forward item in the back-forward list.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.canGoBack
Meaning: whether there is a valid back item in the back-forward list.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.backForwardList
Meaning: The web view's back-forward list.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Typ: WKBackForwardList *
Variables: WKWebView webView

Variable: webView.allowsBackForwardNavigationGestures
Meaning: whether horizontal swipe gestures trigger backward and forward page navigation.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.microphoneCaptureState
Meaning: whether the webpage is using the microphone to capture audio.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Typ: WKMediaCaptureState
Variables: WKWebView webView

Variable: webView.magnification
Meaning: The factor by which the page content is currently scaled.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.allowsMagnification
Meaning: Whether magnify gestures change the web view’s magnification.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView
Initialization: NO

Variable: webView.pageZoom
Meaning: The scale factor by which the web view scales content relative to its bounds.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView
Initialization: 1.0

Variable: webView.underPageBackgroundColor
Meaning: The color the web view displays behind the active page, visible when the user scrolls beyond the bounds of the page.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.themeColor
Meaning: The theme color that the system gets from the first valid meta tag in the webpage
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.hasOnlySecureContent
Meaning: whether the web view loaded all resources on the page through securely encrypted connections.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.serverTrust
Meaning: The trust management object you use to evaluate trust for the current webpage.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Typ: SecTrustRef
Variables: WKWebView webView

Variable: webView.customUserAgent
Meaning: The custom user agent string.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.mediaType
Meaning: The media type for the contents of the web view.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.URL
Meaning: The URL for the current webpage.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.title
Meaning: The page title.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.scrollView
Meaning: The scroll view associated with the web view.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.estimatedProgress
Meaning: An estimate of what fraction of the current navigation has been loaded.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.loading
Meaning: whether the view is currently loading content
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.navigationDelegate
Meaning: The object you use to manage navigation behavior for the web view.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Variable: webView.configuration
Meaning: The object that contains the configuration details for the web view.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Variables: WKWebView webView

Typ: WKMediaCaptureState
TypMeaning: An enumeration that describes whether a media device, like a camera or microphone, is currently capturing audio or video.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Value: WKMediaCaptureStateActive
The media device is actively capturing audio or video.
Value2: WKMediaCaptureStateMuted
The media device is muted, and not actively capturing audio or video.
Value3: WKMediaCaptureStateNone
The media device is off.

Typ: WKMediaPlaybackState
TypMeaning: An enumeration that describes whether an audio or video presentation is playing, paused, or suspended.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Value: WKMediaPlaybackStateNone
There is no media to play back.
Value2: WKMediaPlaybackStatePaused
The media playback is paused.
Value3: WKMediaPlaybackStatePlaying
The media is playing.
Value4: WKMediaPlaybackStateSuspended
The media is not playing, and cannot be resumed until the user revokes the suspension.

Variable: webView.UIDelegate
Meaning: The object you use to integrate custom user interface elements, such as contextual menus or panels, into web view interactions.
Page: https://developer.apple.com/documentation/webkit/wkwebview?language=objc
Typ: id<WKUIDelegate>
Variables: WKWebView webView

Typ: WKUIDelegate
Meaning: The methods for presenting native user interface elements on behalf of a webpage.
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Variables: WKWebView webView

Instruction: [wkuiDelegate
  webView:webView
  createWebViewWithConfiguration:configuration
  forNavigationAction:navigationAction
  windowFeatures:windowFeatures
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Returns: A new web view with configuraton, caused by navigation action requisting windowFeatures
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webViewDidClose:webView
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Notifies your app that the DOM window closed successfully.
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  runJavaScriptAlertPanelWithMessage:message
  initiatedByFrame:frame
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Displays a JavaScript alert panel from webView's frame with message. Once done, call completionHandler
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  runJavaScriptConfirmPanelWithMessage:message
  initiatedByFrame:frame
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Displays a JavaScript alert panel from webView's frame with message. Call completionHandler with confirmation result.
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  runJavaScriptTextInputPanelWithPrompt:prompt
  defaultText:defaultText
  initiatedByFrame:frame
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Displays a JavaScript request for text, with default value prompt, from webView's frame with message. Call completionHandler with the result string or nil if cancelled
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  runOpenPanelWithParameters:parameters
  initiatedByFrame:frame
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Displays a file upload panel, according to parameters. Send selected files or nil to completionHandler
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  contextMenuConfigurationForElement:elementInfo
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Tells the delegate that a contextual menu interaction began. elementInfo contains information about the element involved in the interaction. Required contextMenu should be sent to completionHandler
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  contextMenuConfigurationForElement:elementInfo
  willCommitWithAnimator:animator
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Provides the delegate with the animator object that the web view uses to display the contextual menu.
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  contextMenuWillPresentForElement:elementInfo
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Tells the delegate that the web view is about to present the contextual menu for the specified element.
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  contextMenuDidEndForElement:elementInfo
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Tells the delegate that the web view dismissed the contextual menu for the specified element.
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  requestDeviceOrientationAndMotionPermissionForOrigin:origin
  initiatedByFrame:frame
  decisionHandler:decisionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Send to decisionHandler whether a web resource, with security origin can access the device's orientation and motion
Variables: WKUIDelegate wkuiDelegate

Instruction: [wkuiDelegate
  webView:webView
  requestMediaCapturePermissionForOrigin:origin
  initiatedByFrame:frame
  type:type
  decisionHandler:decisionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Effect: Send to decisionHandler whether a web resource, which the security origin object describes, can access to the device’s microphone audio and camera video.
Variables: WKUIDelegate wkuiDelegate

Typ: WKMediaCaptureType
TypMeaning: An enumeration listing the types of media devices that can capture audio, video, or both.
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Variables: WKUIDelegate wkuiDelegate
Value: WKMediaCaptureTypeCamera
A media device that can capture video.
Value2: WKMediaCaptureTypeCameraAndMicrophone
A media device or devices that can capture audio and video.
Value3: WKMediaCaptureTypeMicrophone
A media device that can capture audio.

Typ: WKPermissionDecision
TypMeaning: An enumeration of possible permission decisions for device resource access.
Page: https://developer.apple.com/documentation/webkit/wkuidelegate?language=objc
Variables: WKUIDelegate wkuiDelegate
Value: WKPermissionDecisionDeny
Deny permission for the requested resource.
Value2: WKPermissionDecisionGrant
Grant permission for the requested resource.
Value3: WKPermissionDecisionPrompt
Prompt the user for permission for the requested resource.

Typ: WKOpenPanelParameters
Meaning: The configuration details of a file upload control in your web content.
Page: https://developer.apple.com/documentation/webkit/wkopenpanelparameters?language=objc

Variable: openPanelParameters.allowsDirectories
Meaning: whether the file upload control supports the selection of directories.
Page: https://developer.apple.com/documentation/webkit/wkopenpanelparameters?language=objc
Variables: WKOpenPanelParameters openPanelParameters

Variable: openPanelParameters.allowsMultipleSelection
Meaning: whether the file upload control supports multiple files.
Page: https://developer.apple.com/documentation/webkit/wkopenpanelparameters?language=objc
Variables: WKOpenPanelParameters openPanelParameters

Typ: WKWindowFeatures
Meaning: Display-related attributes that a webpage requests for its window.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc

Variable: windowFeatures.allowsResizing
Meaning: whether to make the containing window window resizable.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Variable: windowFeatures.height
Meaning: The requested height of the containing window.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Variable: windowFeatures.width
Meaning: The requested width of the containing window.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Variable: windowFeatures.x
Meaning: The requested x-coordinate of the containing window.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Variable: windowFeatures.y
Meaning: The requested y-coordinate of the containing window.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Variable: windowFeatures.menuBarVisibility
Meaning: whether the webpage requests a visible menu bar.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Variable: windowFeatures.statusBarVisibility
Meaning: whether the webpage requested a visible status bar.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Variable: windowFeatures.toolbarsVisibility
Meaning: whether the webpage requested a visible toolbar.
Page: https://developer.apple.com/documentation/webkit/wkwindowfeatures?language=objc
Variables: WKWindowFeatures windowFeatures

Typ: WKProcessPool
Meaning: An opaque token that you use to run multiple web views in a single process.
Page: https://developer.apple.com/documentation/webkit/wkprocesspool?language=objc

Typ: WKPreferences
Meaning: An object that encapsulates the standard behaviors to apply to websites.
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc

Variable: wkPreferences.minimumFontSize
Meaning: The minimum font size, in points.
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc
Variables: WKPreferences wkPreferences

Variable: wkPreferences.tabFocusesLinks
Meaning: whether pressing the tab key changes the focus to links and form controls.
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc
Variables: WKPreferences wkPreferences

Variable: wkPreferences.javaScriptCanOpenWindowsAutomatically
Meaning: whether JavaScript can open windows without user interaction.
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc
Variables: WKPreferences wkPreferences

Variable: wkPreferences.fraudulentWebsiteWarningEnabled
Meaning: whether the web view shows warnings for suspected fraudulent content, such as malware or phishing attemps.
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc
Variables: WKPreferences wkPreferences

Variable: wkPreferences.elementFullscreenEnabled
Meaning: elementFullscreenEnabled
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc
Variables: WKPreferences wkPreferences

Variable: wkPreferences.siteSpecificQuirksModeEnabled
Meaning: siteSpecificQuirksModeEnabled
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc
Variables: WKPreferences wkPreferences

Variable: wkPreferences.textInteractionEnabled
Meaning: textInteractionEnabled
Page: https://developer.apple.com/documentation/webkit/wkpreferences?language=objc
Variables: WKPreferences wkPreferences

Typ: WKWebpagePreferences
Meaning: An object that specifies the behaviors to use when loading and rendering page content.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc

Variable: webpagePreferences.allowsContentJavaScript
Meaning: whether JavaScript from web content is allowed to run.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Variables: WKWebpagePreferences webpagePreferences

Variable: webpagePreferences.preferredContentMode
Meaning: The content mode for the web view to use when it loads and renders a webpage.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Typ: WKContentMode
Variables: WKWebpagePreferences webpagePreferences

Typ: WKContentMode
TypMeaning: Constants that indicate how to render web view content.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Variables: WKWebpagePreferences webpagePreferences
Value: WKContentModeRecommended
The content mode that is appropriate for the current device.
Value2: WKContentModeDesktop
The content mode that represents a desktop experience.
Value3: WKContentModeMobile
The content mode that represents a mobile experience.

Typ: WKWebsiteDataStore
Meaning: An object that manages cookies, disk and memory caches, and other types of data for a web view.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc

Instruction: [WKWebsiteDataStore
  defaultDataStore
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Returns: the default data store, which stores data persistently to disk.
Typ: WKWebsiteDataStore

Instruction: [WKWebsiteDataStore
  nonPersistentDataStore
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Returns: a new data store object that stores website data in memory, and doesn’t write that data to disk.

Instruction: [WKWebsiteDataStore
  allWebsiteDataTypes
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Returns: the set of all the available data types.

Instruction: [websiteDataStore
  removeDataOfTypes:dataTypes
  modifiedSince:date
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Removes website data of dataType that changed after date. Then call completionHandler
Variables: WKWebsiteDataStore websiteDataStore

Instruction: [websiteDataStore
  removeDataOfTypes:dataTypes
  forDataRecords:dataRecords
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Removes the specified types of website data from one or more data records. Then call completionHandler
Variables: WKWebsiteDataStore websiteDataStore

Instruction: [websiteDataStore
  fetchDataRecords:dataRecords
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Sends data records of dataTypes to completionHandler
Variables: WKWebsiteDataStore websiteDataStore

Variable: websiteDataStore.persistent
Meaning: whether this object stores data to disk.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Variables: WKWebsiteDataStore websiteDataStore

Variable: websiteDataStore.httpCookieStore
Meaning: The object that manages the HTTP cookies for your website.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Variables: WKWebsiteDataStore websiteDataStore

Typ: WKWebsiteDataRecord
Meaning: A record of the data that a particular website stores persistently.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc

Variable: websiteDataRecord.displayName
Meaning: The display name for the data record.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Variables: WKWebsiteDataRecord websiteDataRecord

Variable: websiteDataRecord.dataTypes
Meaning: The types of data associated with the record, as in Data Store Record Types
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Variables: WKWebsiteDataRecord websiteDataRecord

Typ: WKHTTPCookieStore
Meaning: An object that manages the HTTP cookies associated with a particular web view.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc

Instruction: [httpCookieStore
  getAllCookies:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Fetches all stored cookies asynchronously and delivers them to the specified completion handler.
Variables: WKHTTPCookieStore httpCookieStore

Instruction: [httpCookieStore
  setCookie:cookie
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Add cookie and then call completionHandler
Variables: WKHTTPCookieStore httpCookieStore

Instruction: [httpCookieStore
  deleteCookie:cookie
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Delete cookie and then call completionHandler
Variables: WKHTTPCookieStore httpCookieStore

Instruction: [httpCookieStore
  addObserver:observer
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Adds an observer to the cookie store.
Variables: WKHTTPCookieStore httpCookieStore

Instruction: [httpCookieStore
  removeObserver:observer
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Removes an observer from the cookie store.
Variables: WKHTTPCookieStore httpCookieStore

Typ: WKHTTPCookieStoreObserver
Meaning: The methods to adopt in an object that monitors changes to a webpage’s cookies.
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Variables: WKHTTPCookieStore httpCookieStore

Instruction: [httpCookieStoreObserver
  cookiesDidChangeInCookieStore:cookieStore
]
Page: https://developer.apple.com/documentation/webkit/wkwebpagepreferences?language=objc
Effect: Tells the delegate that the cookies in the specified cookie store changed.
Variables: WKHTTPCookieStoreObserver httpCookieStoreObserver

Typ: WKURLSchemeHandler
Meaning: A protocol for loading resources with URL schemes that WebKit doesn't handle.
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc

Instruction: [urlSschemeHandler
  webView:webView
  startURLSchemeTask:urlSchemeTask
]
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc
Effect: Asks your handler to begin loading the data for the specified resource.
Variables: WKURLSchemeHandler urlSschemeHandler

Instruction: [urlSschemeHandler
  webView:webView
  stopURLSchemeTask:urlSchemeTask
]
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc
Effect: Asks your handler to stop loading the data for the specified resource.
Variables: WKURLSchemeHandler urlSschemeHandler

Typ: WKURLSchemeTask
Meaning: An interface that WebKit uses to request custom resources from your app.
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc

Variable: urlSchemeTask.request
Meaning: Information about the resource to load.
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc
Typ: NSURLRequest
Variables: WKURLSchemeTask urlSchemeTask

Instruction: [urlSchemeTask
  didReceiveResponse:response
]
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc
Effect: Returns a URL response to WebKit with information about the requested resource.
Variables: WKURLSchemeTask urlSchemeTask

Instruction: [urlSchemeTask
  didReceiveData:data
]
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc
Effect: Sends some or all of the resource data to WebKit.
Variables: WKURLSchemeTask urlSchemeTask

Instruction: [urlSchemeTask
  didFinish
]
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc
Effect: Signals the successful completion of the task.
Variables: WKURLSchemeTask urlSchemeTask

Instruction: [urlSchemeTask
  didFailWithError:error
]
Page: https://developer.apple.com/documentation/webkit/wkurlschemehandler?language=objc
Effect: Completes the task and reports the specified error back to WebKit.
Variables: WKURLSchemeTask urlSchemeTask

Typ: WKNavigationDelegate
Meaning: Methods for accepting or rejecting navigation changes, and for tracking the progress of navigation requests.
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc

Instruction: [navigationDelegate
  webView:webView
  decidePolicyForNavigationAction:navigationAction
  preferences:preferences
  decisionHandler:decisionHandler
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Asks the delegate for permission to navigate to new content based on the specified preferences and action information.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  decidePolicyForNavigationAction:navigationAction
  decisionHandler:decisionHandler
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Asks the delegate for permission to navigate to new content based on the specified action information.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  decidePolicyForNavigationResponse:navigationResponse
  decisionHandler:decisionHandler
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Asks the delegate for permission to navigate to new content after the response to the navigation request is known.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didStartProvisionalNavigation:navigation
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that navigation from the main frame has started.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didReceiveServerRedirectForProvisionalNavigation:navigation
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that the web view received a server redirect for a request.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didCommitNavigation:navigation
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that the web view has started to receive content for the main frame.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didFinnishNavigation:navigation
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that navigation is complete.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didReceiveAuthenticationChallenge:challenge
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Asks the delegate to respond to an authentication challenge.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didReceiveAuthenticationChallenge:challenge
  sholdAllowDeprecatedTLS:decisionHandler
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Asks the delegate whether to continue with a connection that uses a deprecated version of TLS. Answer in decisionHandler
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didFailNavigation:navigation
  withError:error
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that an error occurred during navigation.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  didFailProvisionalNavigation:navigation
  withError:error
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that an error occurred during the early navigation process.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webViewContentProcessDidTerminate:webView
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that the web view’s content process was terminated.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  navigationResponse:navigationResponse
  didBecomeDownload:download
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that a navigation response became a download.
Variables: WKNavigationDelegate navigationDelegate

Instruction: [navigationDelegate
  webView:webView
  navigationAction:action
  didBecomeDownload:download
]
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Effect: Tells the delegate that a navigation action became a download.
Variables: WKNavigationDelegate navigationDelegate

Typ: WKNavigationResponsePolicy
TypMeaning: Constants that indicate whether to allow or cancel navigation to a webpage from a response.
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Value: WKNavigationResponsePolicyCancel
Cancel the navigation.
Value2: WKNavigationResponsePolicyAllow
Allow the navigation to continue.
Value3: WKNavigationResponsePolicyDownload
Allow the download to proceed.

Typ: WKNavigationActionPolicy
TypMeaning: Constants that indicate whether to allow or cancel navigation to a webpage from an action.
Page: https://developer.apple.com/documentation/webkit/wknavigationdelegate?language=objc
Value: WKNavigationActionPolicyCancel
Cancel the navigation.
Value2: WKNavigationActionPolicyAllow
Allow the navigation to continue.
Value3: WKNavigationActionPolicyDownload
Allow the download to proceed.

Typ: WKBackForwardList
Meaning: An object that manages the list of previously loaded webpages, which the web view uses for forward and backward navigation.
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc

Instruction: [backForwardList
  backItem
]
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Returns: The item immediately preceding the current item, if any
Variables: WKBackForwardList backForwardList

Instruction: [backForwardList
  currentItem
]
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Returns: The current item.
Variables: WKBackForwardList backForwardList

Instruction: [backForwardList
  forwardItem
]
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Returns: The item immediately following the current item, if any.
Variables: WKBackForwardList backForwardList

Instruction: [backForwardList
  backList
]
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Returns: The array of items that precede the current item.
Variables: WKBackForwardList backForwardList

Instruction: [backForwardList
  forwardList
]
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Returns: The array of items that follow the current item.
Variables: WKBackForwardList backForwardList

Instruction: [backForwardList
  itemAtIndex:index
]
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Returns: the item at the relative offset from the current item.
Variables: WKBackForwardList backForwardList

Typ: WKBackForwardListItem
Meaning: A representation of a webpage that the web view previously visited.
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Section: [backForwardList
  itemAtIndex:index
]

Variable: backForwardListItem.title
Meaning: The title of the webpage this item represents.
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Section: [backForwardList
  itemAtIndex:index
]
Variables: WKBackForwardListItem backForwardListItem

Variable: backForwardListItem.URL
Meaning: The URL of the webpage this item represents.
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Section: [backForwardList
  itemAtIndex:index
]
Variables: WKBackForwardListItem backForwardListItem

Variable: backForwardListItem.initialURL
Meaning: The source URL that originally asked the web view to load this page.
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Section: [backForwardList
  itemAtIndex:index
]
Variables: WKBackForwardListItem backForwardListItem

Typ: WKNavigation
Meaning: An object that tracks the loading progress of a webpage.
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Section: [backForwardList
  itemAtIndex:index
]

Variable: wkNavigation.effectiveContentMode
Meaning: The content mode WebKit uses to load the webpage.
Page: https://developer.apple.com/documentation/webkit/wkbackforwardlist?language=objc
Section: [backForwardList
  itemAtIndex:index
]
Typ: WKContentMode
Variables: WKNavigation wkNavigation

Typ: WKNavigationAction
Meaning: An object that contains information about an action that causes navigation to occur.
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Variables: WKNavigationAction navigationAction

Variable: navigationAction.shouldPerformDownload
Meaning: Whether the action should perform a download
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Section: [backForwardList
  itemAtIndex:index
]
Typ: WKNavigationAction navigationAction

Variable: navigationAction.modifierFlags
Meaning: The modifier keys that were pressed at the time of the navigation request.
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Typ: NSEventModifierFlags
Variables: WKNavigationAction navigationAction

Variable: navigationAction.buttonNumber
Meaning: The number of the mouse button that caused the navigation request.
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Variables: WKNavigationAction navigationAction

Variable: navigationAction.targetFrame
Meaning: The frame in which to display the new content
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Typ: WKFrameInfo *
Variables: WKNavigationAction navigationAction

Variable: navigationAction.sourceFrame
Meaning: The frame that requested the navigation.
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Typ: WKFrameInfo *
Variables: WKNavigationAction navigationAction

Variable: navigationAction.request
Meaning: The URL request object associated with the navigation action.
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Typ: NSURLRequest *
Variables: WKNavigationAction navigationAction

Variable: navigationAction.navigationType
Meaning: The type of action that triggered the navigation.
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Typ: WKNavigationType
Variables: WKNavigationAction navigationAction

Typ: WKNavigationType
TypMeaning: The type of action that triggered the navigation.
Page: https://developer.apple.com/documentation/webkit/wknavigationaction?language=objc
Value: WKNavigationTypeLinkActivated
A link activation.
Value2: WKNavigationTypeFormSubmitted
A request to submit a form.
Value3: WKNavigationTypeBackForward
A request for the frame’s next or previous item.
Value4: WKNavigationTypeReload
A request to reload the webpage.
Value5: WKNavigationTypeFormResubmitted
A request to resubmit a form.
Value6: WKNavigationTypeOther
A navigation request that originates for some other reason.

Typ: WKNavigationResponse
Meaning: An object that contains the response to a navigation request, and which you use to make navigation-related policy decisions.
Page: https://developer.apple.com/documentation/webkit/wknavigationresponse?language=objc

Variable: navigationResponse.response
Meaning: The frame’s response.
Page: https://developer.apple.com/documentation/webkit/wknavigationresponse?language=objc
Typ: NSURLResponse*
Variables: WKNavigationResponse navigationResponse

Variable: navigationResponse.canShowMIMEType
Meaning: whether WebKit is capable of displaying the response’s MIME type natively.
Page: https://developer.apple.com/documentation/webkit/wknavigationresponse?language=objc
Variables: WKNavigationResponse navigationResponse

Variable: navigationResponse.forMainFrame
Meaning: whether the response targets the web view’s main frame.
Page: https://developer.apple.com/documentation/webkit/wknavigationresponse?language=objc
Variables: WKNavigationResponse navigationResponse

Typ: WKDownload
Meaning: represents the download of a web resource.
Page: https://developer.apple.com/documentation/webkit/wknavigationresponse?language=objc

Variable: download.webView
Meaning: The web view where the download initiated.
Page: https://developer.apple.com/documentation/webkit/wkdownload?language=objc
Variables: WKDownload download

Variable: download.originalRequest
Meaning: represents the request that initiated the download.
Page: https://developer.apple.com/documentation/webkit/wkdownload?language=objc
Typ: NSURLRequest *
Variables: WKDownload download

Variable: download.delegate
Meaning: An object you use to track download progress and handle redirects, authentication challenges, and failures.
Page: https://developer.apple.com/documentation/webkit/wkdownload?language=objc
Typ: id<WKDownloadDelegate>
Variables: WKDownload download

Instruction: [download
  cancel:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkdownload?language=objc
Effect: Cancels the download, and optionally captures data to completionHandler so that you can resume the download later.
Variables: WKDownload download

Typ: WKDownloadDelegate
Meaning: A protocol you implement to track download progress and handle redirects, authentication challenges, and failures.
Page: https://developer.apple.com/documentation/webkit/wkdownloaddelegate?language=objc

Instruction: [downloadDelegate
  download:download
  decideDestinationUsingResponse:response
  suggestedFilename:suggestedFilename
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkdownloaddelegate?language=objc
Effect: Asks the delegate to call completionHandler with a file destination where the system should write the download data.
Variables: WKDownloadDelegate downloadDelegate

Instruction: [downloadDelegate
  downloadDidFinish:download
]
Page: https://developer.apple.com/documentation/webkit/wkdownloaddelegate?language=objc
Effect: Tells the delegate that the download finished.
Variables: WKDownloadDelegate downloadDelegate

Instruction: [downloadDelegate
  download:download
  didFailWithError:error
  resumeData:resumeData
]
Page: https://developer.apple.com/documentation/webkit/wkdownloaddelegate?language=objc
Effect: Tells the delegate that the download failed, with error information and data you can use to restart the download.
Variables: WKDownloadDelegate downloadDelegate

Instruction: [downloadDelegate
  download:download
  didReceiveAuthenticationChallenge:challenge
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkdownloaddelegate?language=objc
Effect: Asks the delegate to put in completionHandler the respond to an authentication challenge for download.
Variables: WKDownloadDelegate downloadDelegate

Instruction: [downloadDelegate
  download:download
  willPerformHTTPRedirection:response
  newRequest:request
  decisionHandler:decisionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkdownloaddelegate?language=objc
Effect: Ask the delegate to put in decisionHandler the respond to download's redirect response for download
Variables: WKDownloadDelegate downloadDelegate

Typ: WKDownloadRedirectPolicy
TypMeaning: An enumeration with cases that indicate whether to proceed with a redirect.
Page: https://developer.apple.com/documentation/webkit/wkdownloaddelegate?language=objc
Value: WKDownloadRedirectPolicyAllow
Allow a redirect to proceed.
Value2: WKDownloadRedirectPolicyCancel
Cancel the redirect action.

Typ: WKUserContentController
Meaning: An object for managing interactions between JavaScript code and your web view, and for filtering content in your web view.
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc

Instruction: [userContentController
  addUserScript:userScript
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Injects userScript into the webpage's content
Variables: WKUserContentController userContentController

Instruction: [userContentController
  removeAllUserScripts
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Removes all user scripts from the web view.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  addScriptMessageHandler:scriptMessageHandler
  name:name
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Installs a message handler that you can call from your JavaScript code.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  addScriptMessageHandler:scriptMessageHandler
  contentWorld:world
  name:name
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Installs a message handler that you can call from the specified content world in your JavaScript code.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  addScriptMessageHandlerWithReply:scriptMessageHandlerWithReply
  contentWorld:world
  name:name
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Installs a message handler that returns a reply to your JavaScript code.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  removeScriptMessageHandlerForName:name
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Uninstalls the custom message handler with the specified name from your JavaScript code.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  removeScriptMessageHandlerForName:name
  contentWorld:contentWorld
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Uninstalls a custom message handler from the specified content world in your JavaScript code.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  removeAllScriptMessageHandlerFromContentWorld:contentWorld
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Uninstalls all custom message handlers from the specified content world in your JavaScript code.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  removeAllScriptMessageHandlers
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Uninstalls all custom message handlers associated with the user content controller.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  addContentRuleList:contentRuleList
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Adds the specified content rule list to the content controller object.
Variables: WKUserContentController userContentController

Instruction: [userContentController
  removeContentRuleList:contentRuleList
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Remove contentRuleList from the content controller object
Variables: WKUserContentController userContentController

Instruction: [userContentController
  removeAlllContentRuleLists
]
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Effect: Removes all rules lists from the content controller.
Variables: WKUserContentController userContentController

Typ: WKContentRuleList
Meaning: A compiled list of rules to apply to web content.
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc

Variable: contentRuleList.identifier
Meaning: The identifier for the rule list.
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Variables: WKContentRuleList contentRuleList

Typ: WKScriptMessageHandlerWithReply
Meaning: An interface for responding to messages from JavaScript code running in a webpage.
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Variables: WKContentRuleList contentRuleList

Instruction: [scriptMessageHandlerWithReply
  userContentController:userContentController
  didReceiveScriptMessage:message
  replyHandler:replyHandler
]
Page: https://developer.apple.com/documentation/webkit/wkscriptmessagehandlerwithreply?language=objc
Effect: Tells the handler that a webpage sent a script message that included a reply.
Variables: WKScriptMessageHandlerWithReply scriptMessageHandlerWithReply

Typ: WKScriptMessage
Meaning: An object that encapsulates a message sent by JavaScript code from a webpage.
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc

Variable: scriptMessage.body
Meaning: The body of the scriptMessage.
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc
Variables: WKScriptMessage scriptMessage

Variable: scriptMessage.frameInfo
Meaning: The frame that sent scriptMessage
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc
Variables: WKScriptMessage scriptMessage

Variable: scriptMessage.webView
Meaning: the web view that sent scriptMessage
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc
Variables: WKScriptMessage scriptMessage

Variable: scriptMessage.world
Meaning: The namespace in which the javaScript code execute
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc
Variables: WKScriptMessage scriptMessage

Variable: scriptMessage.name
Meaning: The name of the message handler to which scriptMessage is sent
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc
Variables: WKScriptMessage scriptMessage

Typ: WKScriptMessageHandler
Meaning: An interface for receiving messages from JavaScript code running in a webpage.
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc

Instruction: [scriptMessageHandler
  userContentController:userContentController
  didReceiveScriptMessage:message
]
Page: https://developer.apple.com/documentation/webkit/wkscriptmessage?language=objc
Effect: Tells the handler that a webpage sent a script message.
Variables: WKScriptMessageHandler scriptMessageHandler

Variable: userContentController.userScripts
Meaning: The user scripts associated with the user content controller.
Page: https://developer.apple.com/documentation/webkit/wkusercontentcontroller?language=objc
Typ: NSArray<WKUserScript *> *
Variables: WKUserContentController userContentController

Typ: WKContentRuleListStore
Meaning: An object that contains the rules for how to load and filter content in the web view.
Page: https://developer.apple.com/documentation/webkit/wkcontentruleliststore?language=objc

Instruction: [WKContentRuleListStore
  defaultStore
]
Page: https://developer.apple.com/documentation/webkit/wkcontentruleliststore?language=objc
Returns: the default content rule list store.

Instruction: [WKContentRuleListStore
  storeWithURL:url
]
Page: https://developer.apple.com/documentation/webkit/wkcontentruleliststore?language=objc
Returns: A new content rule list stored in directory url

Instruction: [contentRuleListStore
  compileContentRuleListForIdentifier:identifier
  encodedContentRuleList:encodedContentRuleList
  completionHandler::completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkcontentruleliststore?language=objc
Effect: Compiles the JSON content rule encodedContentRuleList named identifier  into a new rule list and adds it to the current data store. Then call completionHandler.
Variables: WKContentRuleListStore contentRuleListStore

Instruction: [contentRuleListStore
  removeContentRuleListForIdentifier:identifier
  completionHandler::completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkcontentruleliststore?language=objc
Effect: Removes the rule list identifier from the current data store asynchronously.
Variables: WKContentRuleListStore contentRuleListStore

Instruction: [contentRuleListStore
  getAvailableContentRuleListIdentifiers:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkcontentruleliststore?language=objc
Effect: Fetches the identifiers for all rule lists in the store asynchronously and send them to completionHandler
Variables: WKContentRuleListStore contentRuleListStore

Instruction: [contentRuleListStore
  lookUpContentRuleListForIdentifier:identifier
  completionHandler:completionHandler
]
Page: https://developer.apple.com/documentation/webkit/wkcontentruleliststore?language=objc
Effect: Searches asynchronously for a specific rule list in the data store and send it to completionHandler
Variables: WKContentRuleListStore contentRuleListStore

Variable: WKContentWorld.defaultClientWorld
Meaning: The default world for clients.
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Typ: WKContentWorld *

Variable: WKContentWorld.pageWorld
Meaning: The content world for the current webpage’s content.
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Typ: WKContentWorld *

Variable: contentWorld.name
Meaning: The name of a custom content world.
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Variables: WKContentWorld contentWorld

Instruction: [contentWorld
  worldWithName:name
]
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Returns: the custom content world with name name. Create it if it does not exists.
Variables: WKContentWorld contentWorld

Typ: WKFrameInfo
Meaning: An object that contains information about a frame on a webpage.
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc

Variable: frameInfo.mainFrame
Meaning: whether the frame is the web site's main frame or a subframe.
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Variables: WKFrameInfo frameInfo

Variable: frameInfo.request
Meaning: The frame’s current request.
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Typ: NSURLRequest *
Variables: WKFrameInfo frameInfo

Variable: frameInfo.securityOrigin
Meaning: The frame’s security origin.
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Typ: WKSecurityOrigin *
Variables: WKFrameInfo frameInfo

Variable: frameInfo.webView
Meaning: The frame's webview
Page: https://developer.apple.com/documentation/webkit/wkcontentworld?language=objc
Typ: WKWebView *
Variables: WKFrameInfo frameInfo

Typ: WKSecurityOrigin
Meaning: An object that identifies the origin of a particular resource.
Page: https://developer.apple.com/documentation/webkit/wksecurityorigin?language=objc

Typ: securityOrigin.protocol
Meaning: The security origin's protocol
Page: https://developer.apple.com/documentation/webkit/wksecurityorigin?language=objc
Variables: WKSecurityOrigin securityOrigin

Typ: securityOrigin.port
Meaning: The security origin's port
Page: https://developer.apple.com/documentation/webkit/wksecurityorigin?language=objc
Variables: WKSecurityOrigin securityOrigin

Typ: securityOrigin.host
Meaning: The security origin's host
Page: https://developer.apple.com/documentation/webkit/wksecurityorigin?language=objc
Variables: WKSecurityOrigin securityOrigin

Typ: WKUserScript
Meaning: A script that the web view injects into a webpage.
Page: https://developer.apple.com/documentation/webkit/wkuserscript?language=objc
Variables: WKSecurityOrigin securityOrigin

Variable: userScript.source
Meaning: The script’s source code
Page: https://developer.apple.com/documentation/webkit/wkuserscript?language=objc
Variables: WKUserScript userScript

Variable: userScript.injectionTime
Meaning: The time at which to inject the script into the webpage.
Page: https://developer.apple.com/documentation/webkit/wkuserscript?language=objc
Variables: WKUserScript userScript
Extra: The value is one of the constants of the enumerated type WKUserScriptInjectionTime.

Variable: userScript.forMainFrameOnly
Meaning: whether to inject the script into the main frame or all frames.
Page: https://developer.apple.com/documentation/webkit/wkuserscript?language=objc
Variables: WKUserScript userScript

Instruction: [userScript
  initWithSource:source
  injectionTime:injectionTime
  forMainFrameOnly:forMainFrameOnly
  inContentWorld:contentWorld
]
Page: https://developer.apple.com/documentation/webkit/wkuserscript?language=objc
Effect: Creates a user script object running script, to inject at injectionTime, to run on main/all frame according to forMainFrameOnly and that is scoped to a particular contentWorld.
Variables: WKUserScript userScript

Instruction: [userScript
  initWithSource:source
  injectionTime:injectionTime
  forMainFrameOnly:forMainFrameOnly
]
Page: https://developer.apple.com/documentation/webkit/wkuserscript?language=objc
Effect: Creates a user script object running script, to inject at injectionTime, to run on main/all frame according to forMainFrameOnly.
Variables: WKUserScript userScript

Typ: WKUserScriptInjectionTime
TypMeaning: Constants for the times at which to inject script content into a webpage.
Page: https://developer.apple.com/documentation/webkit/wkuserscript?language=objc
Variables: WKUserScript userScript
Value: WKUserScriptInjectionTimeAtDocumentStart
A constant to inject the script after the creation of the webpage’s document element, but before loading any other content.
Value2: WKUserScriptInjectionTimeAtDocumentEnd
A constant to inject the script after the document finishes loading, but before loading any other subresources.

Typ: WKFindConfiguration
Meaning: The configuration parameters to use when searching the contents of the web view.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc

Variable: findConfiguration.wraps
Meaning: whether the search wraps around to the other side of the page.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc
Variables: WKFindConfiguration findConfiguration

Variable: findConfiguration.caseSensitive
Meaning: whether to consider case when matching the search string.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc
Variables: WKFindConfiguration findConfiguration

Variable: findConfiguration.backwards
Meaning: ndicates the search direction, relative to the current selection.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc
Variables: WKFindConfiguration findConfiguration

Typ: WKFindResult
Meaning: An object that contains the results of searching the web view’s contents.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc

Variable: findResult.matchFound
Meaning: whether the web view found a match during the search.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc
Variables: WKFindResult findResult

Typ: WKContextMenuElementInfo
Meaning: An object that contains information about a link the user clicked in a webpage, and which you use to configure a context menu for that link.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc

Variable: contextMenuElementInfo.linkURL
Meaning: The URL of the link that the user clicked.
Page: https://developer.apple.com/documentation/webkit/wkfindconfiguration?language=objc
Variables: WKContextMenuElementInfo contextMenuElementInfo

Typ: WKSnapshotConfiguration
Meaning: The configuration data to use when generating an image from a web view’s contents.
Page: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration?language=objc

Variable: snapshotConfiguration.rect
Meaning: The portion of your web view to capture, specified as a rectangle in the view’s coordinate system.
Page: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration?language=objc
Typ: CGRect
Variables: WKSnapshotConfiguration snapshotConfiguration
Initialization: CGRectNull, meaning capture everything

Variable: snapshotConfiguration.snapshotWidth
Meaning: The width of the captured image, in points.
Page: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration?language=objc
Variables: WKSnapshotConfiguration snapshotConfiguration

Variable: snapshotConfiguration.afterScreenUpdates
Meaning: whether to take the snapshot after incorporating any pending screen updates.
Page: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration?language=objc
Variables: WKSnapshotConfiguration snapshotConfiguration
Initialization: YES

Typ: WKPDFConfiguration
Meaning: The configuration data to use when generating a PDF representation of a web view’s contents.
Page: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration?language=objc

Variable: pdfConfiguration.rect
Meaning: The portion of your web view to capture, specified as a rectangle in the view’s coordinate system.
Page: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration?language=objc
Variables: WKPDFConfiguration pdfConfiguration

Typ: WKErrorCode
TypMeaning: Possible error values that WebKit APIs can return.
Page: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration?language=objc
Value: WKErrorUnknown
An error that indicates an unknown issue occurred.
Value2: WKErrorWebContentProcessTerminated
An error that indicates the web process that contains the content is no longer running.
Value3: WKErrorWebViewInvalidated
An error that indicates the web view was invalidated.
Value4: WKErrorJavaScriptExceptionOccurred
An error that indicates a JavaScript exception occurred.
Value5: WKErrorJavaScriptResultTypeIsUnsupported
An error that indicates the result of JavaScript execution could not be returned.
Value6: WKErrorContentRuleListStoreCompileFailed
An error that indicates the compilation of a rule list failed.
Value7: WKErrorContentRuleListStoreLookUpFailed
An error that indicates a content rule list data store didn’t find a rule list with the specified identifier.
Value8: WKErrorContentRuleListStoreRemoveFailed
An error that indicates a failure to remove a content rule list from the rule list data store object.
Value9: WKErrorContentRuleListStoreVersionMismatch
An error that indicates the rule list version is outdated and cannot be read.
Value10: WKErrorAttributedStringContentFailedToLoad
An error that indicates the failure to navigate to web content from an attributed string.
Value11: WKErrorAttributedStringContentLoadTimedOut
An error that indicates a timeout occurred while trying to load web content from an attributed string.
Value12: WKErrorJavaScriptInvalidFrameTarget
An error that indicates your content referenced an invalid web frame.
Value13: WKErrorNavigationAppBoundDomain
An error that indicates navigation failed due to an app-bound domain restriction.
Value14: WKErrorJavaScriptAppBoundDomain
An error that indicates JavaScript execution failed due to an app-bound domain restriction.

Typ: WKFullscreenState
Page: https://developer.apple.com/documentation/webkit/wkfullscreenstate?language=objc
Value: WKFullscreenStateEnteringFullscreen
Value2: WKFullscreenStateExitingFullscreen
Value3: WKFullscreenStateInFullscreen
Value4: WKFullscreenStateNotInFullscreen

Question: TODO: Optimize your website for safari
Page: https://developer.apple.com/documentation/webkit/optimizing_your_website_for_safari?language=objc

Question: TODO: Testing with WebDriver in Safari
Page: https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari?language=objc