Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0 (current version)Version 16.0Version 15.0Version 14.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 18.0.

PackageWebViewController class


Summary

The PackageWebViewController class is used to display web pages contained within packages, ejecting any links outside the package into an external browser.

Syntax

class PackageWebViewController: UIViewController

Description

The PackageWebViewController class is used to display .html contents bundled within packages. Links that lead outside the package are supported, but will be opened externally.

At this time, we directly support opening two types of common pages: .readme and .welcome. We also provide .custom(bundledPath: String) to allow use of any custom pages you may wish to embed within your packages for use within your app.

Constructor

public init?(for package:KeymanPackage, page:KeymanPackagePage : Retrieves the corresponding page from the package and prepares a view to display it.

History

Added in Keyman Engine for iPhone and iPad 14.0.

See Also