I have made a new example that may show some usage better.
-
It shows direct calls to the webpages from the App to control
timelines. -
Calls from the webpages to the App to control the App UI. Obviously
if the App allows your webpage can send calls to do much more than
just control the App ui
.
xcode Project.
WKViewJavascriptExample 2.zip (1.2 MB)
Code signed App
WKViewJavascriptExample.app.zip (236.1 KB)
Hype Projects used