This is a shim to enable Web MIDI API on iOS. WebMIDIAPIPolyfill.js is the bridge script to invoke iOS native Core MIDI APIs. And WebViewDelegate.m is the receptor for informal URL schemes triggered by the bridge script. You can build a hybrid Web MIDI application with using them.
When launching the sample application, a simple web browser will show. You can run Web MIDI applications using the browser as if iOS WebKit had a native API support.
- There's no issues ;-)
The idea was brought from WebMIDIAPIShim by Chris Wilson. WebMIDIAPIPolyfill.js in this project was derived from his great work.
Apache License 2.0