Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 13.0Version 12.0Version 11.0Version 10.0

On this page

Manager.parseKMP()

Summary

The parseKMP() method installs a keyboard via ad-hoc distribution at the folder URL.

Syntax

Manager.parseKMP(folder: URL)

Parameters

folder
URL to the KMP keyboard package.

Description

This syntax can be used for installing a KMP keyboard package.

Example 1: Using parseKMP()

The following script illustrates the use of parseKMP():

let adhocDir = _adhocDirectory {
  self.window?.rootViewController?.dismiss(animated: true, completion: {
  do {
    try Manager.shared.parseKMP(adhocDir)
      self.showSimpleAlert(title: "Success", message: "All keyboards installed successfully.")
    } catch {
      self.showKMPError(error as! KMPError)
  }
}