[ 
https://issues.apache.org/jira/browse/CB-11705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15424080#comment-15424080
 ] 

ASF GitHub Bot commented on CB-11705:
-------------------------------------

Github user hnilsen commented on the issue:

    https://github.com/apache/cordova-ios/pull/241
  
    That doesn't swap out the private CDVUIWebViewEngine used by iOS8, does it? 
That's why I'm adding the option to extract and use my own version of 
CDVUIWebViewEngine. This is what I'm able to do now:
    
    ```
    <preference name="CordovaDefaultWebViewEngine" 
value="CDVSpvUIWebViewEngine" />
    <preference name="CordovaWebViewEngine" value="CDVSpvWKWebViewEngine" />
    ```
    
    ```
        <feature name="CDVSpvUIWebViewEngine">
            <param name="ios-package" value="CDVSpvUIWebViewEngine" />
        </feature>
    
        <feature name="CDVSpvWKWebViewEngine">
            <param name="ios-package" value="CDVSpvWKWebViewEngine" />
        </feature>
    ```
    
    This enables me to create my own UIWebView plugin for iOS8.


> [iOS-Cordova] Add configuration to override default WebViewEngine
> -----------------------------------------------------------------
>
>                 Key: CB-11705
>                 URL: https://issues.apache.org/jira/browse/CB-11705
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: Master
>            Reporter: HÃ¥kon Nilsen
>              Labels: easyfix
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The introduction of WKWebView from iOS9 separed the WebView-interface to 
> enable WKWebView and UIWebView. UIWebView is the default for all of Cordova 
> unless WKWebView is specified, and always default for iOS 8.
> I think it is appropritate to be able to change the default UIWebView to 
> whatever you'd want (i.e. WKWebView for iOS8 as well, or a different 
> UIWebView plugin). 
> I will supply a pull request.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to