User guide

webWrap provides a single webview page with enhanced capabilities made possible by combining the power of iOS libraries with Javascript prompt() Method.

1. webView

Upon startup, the main webWrap screen is the webView. It is a standard iOS WKWebView with customized Javascript handlers.

The clientApplication is loaded and rendered by the webView.

2. edgeMenu

The edgeMenu can be activated by swiping from the edge of the screen (left or right according to configuration).

edgeMenu > Reload will reload the clientApplication in the webView

3. Options

Demo Mode

Home URL

Hide Status Bar

Orientation - Portrait

Orientation - Upside Down

Orientation - Landscape Left

Orientation - Landscape Right

EdgeMenu - Position

EdgeMenu - Background

EdgeMenu - Opacity

BarcodeScanner - Vibrate

barcodeScanner - Beep

4. HTML sample

The following sample shows the use of the TouchID authentication API.

<html>

<body>

<div>Authentication result:

<span id='touchId'>NotRequestedYet</span>

<input type="button"

value"TouchID"

           onclick="document.getElementById('touchID').innerHTML=prompt('cmd=authenticate.touchId()');" />

</div>

</body>

</html>