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)
}
}