Platforms to show: All Mac Windows Linux Cross-Platform

WKWebViewControlMBS control

Type Topic Plugin Version macOS Windows Linux iOS Targets
control WebKit2 MBS Mac64bit Plugin 16.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: A WKWebView object displays interactive web content, such as for an in-app browser.
// print a WKWebViewControlMBS to PDF file:

dim browser as WKWebViewControlMBS // your control showing website
Dim pi As NSPrintInfoMBS = NSPrintInfoMBS.sharedPrintInfo

Dim f As FolderItem = SpecialFolder.Desktop.Child("test.pdf")
pi.SetSaveDestination f

Dim po As NSPrintOperationMBS = browser.printOperation(pi)

po.showsPrintPanel = False
po.showsProgressPanel = False

If po.runOperation Then
End If
This is a control to use WebKit in 32-bit and WebKit 2 in 64-bit.
Most of the events provided by Xojo for the control will not work.
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.

Feedback, Comments & Corrections

Some examples which use this control:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Mac64bit Plugin.

WebViewControlMBS   -   WKWebViewIOSControlMBS

The biggest plugin in space...

MBS FileMaker Plugins

Start Chat