iOSWebView

class : MonoBehaviour, IWebView

The iOS IWebView implementation

Summary

Public methods

GetFileUrlForBundleResource

static string GetFileUrlForBundleResource(string fileName)

Returns a file URL for resource included in the iOS app bundle. This is useful for getting a file URL to a local file so that it can be loaded via IWebView.LoadUrl().

Example:

var fileUrl = iOSWebView.GetFileUrlForBundleResource("my-static-files/my-webpage.html");

Instantiate

static iOSWebView Instantiate()

Creates a new, uninitialized iOSWebView instance. In order to create a webview in a platform-agnostic way, use WebViewFactory.GetInstance() instead.