WKWebViewIOSControlMBS control
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
WKWebViewIOSControlMBS control
A WKWebView object displays interactive web content, such as for an in-app browser.
This is a control is for iOS only and uses 64-bit.
But we can add features over time as needed.
Let us know if you need a method from WKWebView or an event from WKNavigationDelegate or WKUIDelegate.
- 31 events
- event Close
- event CreateWebView(URL as String, request as NSURLRequestMBS) as WKWebViewIOSControlMBS
- event decidePolicyForNavigationAction(navigationAction as WKNavigationActionMBS, decisionHandler as WKPolicyForNavigationActionDecisionHandlerMBS)
- event decidePolicyForNavigationResponse(navigationResponse as WKNavigationResponseMBS, decisionHandler as WKPolicyForNavigationResponseDecisionHandlerMBS)
- event DidClose
- event didCommitNavigation(navigation as WKNavigationMBS)
- event didFailNavigation(navigation as WKNavigationMBS, Error as NSErrorMBS)
- event didFailProvisionalNavigation(navigation as WKNavigationMBS, Error as NSErrorMBS)
- event didFinishNavigation(navigation as WKNavigationMBS)
- event DidReceiveAuthenticationChallenge(challenge as NSURLAuthenticationChallengeMBS, byref AuthChallengeDisposition as Integer, byref credentials as NSURLCredentialMBS)
- event didReceiveScriptMessage(Body as Variant, name as String)
- event didReceiveServerRedirectForProvisionalNavigation(navigation as WKNavigationMBS)
- event didStartProvisionalNavigation(navigation as WKNavigationMBS)
- event downloadDecideDestinationUsingResponse(download as WKDownloadMBS, response as NSURLResponseMBS, suggestedFilename as String, byref destination as FolderItem)
- event downloadDidFailWithError(download as WKDownloadMBS, error as NSErrorMBS, resumeData as MemoryBlock)
- event downloadDidFinish(download as WKDownloadMBS)
- event downloadDidReceiveAuthenticationChallenge(download as WKDownloadMBS, challenge as NSURLAuthenticationChallengeMBS, byref AuthChallengeDisposition as Integer, byref credentials as NSURLCredentialMBS)
- event downloadWillPerformHTTPRedirection(download as WKDownloadMBS, response as NSURLResponseMBS, request as NSURLRequestMBS, byref DownloadRedirectPolicy as Integer)
- event EstimatedProgressChanged(estimatedProgress as double, oldEstimatedProgress as double)
- event GotFocus
- event JavaScriptEvaluated(JavaScript as String, Result as Variant, Error as NSErrorMBS, Tag as String)
- event LostFocus
- event navigationActionDidBecomeDownload(navigationAction as WKNavigationActionMBS, download as WKDownloadMBS)
- event navigationResponseDidBecomeDownload(navigationResponse as WKNavigationResponseMBS, download as WKDownloadMBS)
- event Open
- event runJavaScriptAlertPanel(initiatedByFrame as WKFrameInfoMBS, message as String)
- event runJavaScriptConfirmPanel(initiatedByFrame as WKFrameInfoMBS, message as String) as boolean
- event runJavaScriptTextInputPanel(initiatedByFrame as WKFrameInfoMBS, prompt as String, defaultText as String) as String
- event takeSnapshotCompleted(image as NSImageMBS, error as NSErrorMBS, tag as string)
- event TitleChanged(Title as String, oldTitle as string)
- event WebContentProcessDidTerminate
- 22 properties
- shared property UsePrivateBrowsing as Boolean
- 20 methods
- shared method setUsePrivateBrowsing(value as Boolean)
- 6 constants
Authentication Challenge Responses
Constant |
Value |
Description |
AuthChallengeCancelAuthenticationChallenge
|
2 |
Cancel the entire request. The provided credential parameter is ignored.
|
AuthChallengePerformDefaultHandling
|
1 |
Use the default handling for the challenge as though this delegate method were not implemented. The provided credential parameter is ignored.
|
AuthChallengeRejectProtectionSpace
|
3 |
Reject this challenge, and call the authentication delegate method again with the next authentication protection space. The provided credential parameter is ignored.
|
AuthChallengeUseCredential
|
0 |
Use the specified credential, which may be nil.
|
Redirect Policy
Constant |
Value |
Description |
DownloadRedirectPolicyAllow
|
1 |
Allow a redirect to proceed.
|
DownloadRedirectPolicyCancel
|
0 |
Cancel the redirect action.
|
Some examples using this control:
Blog Entries
Release notes
- Version 22.4
- Removed unneeded boolean return value for decidePolicyForNavigationAction event in WKWebViewIOSControlMBS class.
- Version 22.3
- Changed decidePolicyForNavigationAction event for WKWebViewControlMBS control and WKWebViewIOSControlMBS control to use the decision handler object, so you can decide later or to download. Also navigationAction is now passed with all the details.
- Version 22.1
- Version 21.0
The items on this page are in the following plugins: MBS Mac64bit Plugin.
WKWebViewControlMBS