Example: /Mac64bit/WebKit2/WebView iOS

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

/Mac64bit/WebKit2/WebView iOS


Required plugins for this example: MBS MacBase Plugin, MBS Mac64bit Plugin, MBS Main Plugin

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

This example is the version from Mon, 20th Dec 2020.

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.mbs-plugins.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
End Project

See also:

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


💬 Ask a question or report a problem