You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/01/22 19:12:26 UTC

[jira] [Closed] (CB-10971) newCordovaViewWithFrame can no longer be overridden

     [ https://issues.apache.org/jira/browse/CB-10971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-10971.
-----------------------------
    Resolution: Incomplete
      Assignee: jcesarmobile

There is no enough information to reproduce the problem.

Feel free to reopen providing more information and a sample project if possible.

Overriding newCordovaViewWithFrame should work with latest version of Cordova, but it doesn't have to just return your webview, you also have to init the webViewEngine to use, and your webview implementation has to be the webview of the engine.

> newCordovaViewWithFrame can no longer be overridden
> ---------------------------------------------------
>
>                 Key: CB-10971
>                 URL: https://issues.apache.org/jira/browse/CB-10971
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0
>         Environment: iOS
>            Reporter: George Christou
>            Assignee: jcesarmobile
>              Labels: triaged
>
> Does overriding newCordovaViewWithFrame no longer work? It uses an internal webEngineView now and overriding newCordovaViewWithFrame in order to provide my own implementation of UIWebView breaks the app now as the CDVMainViewController internals now pick up the webEngineView as nil (because it is no longer created as I am overriding the function that creates it). The skeleton projects though suggests that it can still be overridden but doesn't give any clues as to how that can be done now.



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

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