Platforms to show: All Mac Windows Linux Cross-Platform

/Mac64bit/WebKit2/WebView iOS


Last modified Wed, 14th May 2024.

You find this example project in your MBS Xojo Plugin download as a Xojo project file within the examples folder: /Mac64bit/WebKit2/WebView iOS

Download this example: WebView iOS.zip

Project "WebView iOS.xojo_binary_project"
Class App Inherits MobileApplication
End Class
Class MainScreen Inherits MobileScreen
Control browser Inherits WKWebViewIOSControlMBS
ControlInstance browser Inherits WKWebViewIOSControlMBS
Constraint Constraint 1
Constraint Constraint 2
Constraint Constraint 3
Constraint Constraint 4
EventHandler Sub Opening() Me.LoadURL "https://www.mbsplugins.de/" End EventHandler
End Control
EventHandler Sub Opening() browser.addScriptMessageHandler "test" 'browser.EvaluateJavaScript("window.webkit.messageHandlers.test.postMessage('Hello');") End EventHandler
End Class
Class LaunchScreen Inherits iosView
End Class
Sign
End Sign
Sign
End Sign
End Project

See also:

Download this example: WebView iOS.zip

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


The biggest plugin in space...