Currently at Mobile-Spot we plan on using :
 - UI webview for iOS 11 and below
 - WK webview + custom url scheme for iOS12 and above

Today we are able to build an app for iOS 10 that uses WK webview, and this app 
handles the custom url scheme only if it is available in the API of the running 
device:

```
- (void)webView:(WKWebView *)webView startURLSchemeTask:(id 
<WKURLSchemeTask>)task
API_AVAILABLE(ios(11.0)){
    ...
```

The downside is that we have to manually edit `CDVWKWebViewEngine.h` and 
`CDVWKWebViewEngine.m`.

We also have to include UI webview / WK webview switch on startup which seems 
more difficult.

[ Full content available at: https://github.com/apache/cordova-ios/issues/415 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to