cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Hawkins (JIRA)" <>
Subject [jira] [Commented] (CB-1832) iOS: CDVCordovaView should not inherit from UIWebView
Date Fri, 09 Nov 2012 23:23:12 GMT


Kevin Hawkins commented on CB-1832:

This one probably requires some discussion.  Functionally, we could just change the webView
to be a UIWebView, and take away CDVCordovaView.  However, CDVCordovaView is "out there",
and we can't guarantee that removing it wouldn't break compatibility with existing apps, if
developers have in turn extended that class in their apps.  Thoughts?
> iOS: CDVCordovaView should not inherit from UIWebView
> -----------------------------------------------------
>                 Key: CB-1832
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: Master
>            Reporter: Kevin Hawkins
>            Assignee: Shazron Abdullah
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> CDVCordovaView inherits from UIWebView.  Apple's documentation for UIWebView states that
classes should not inherit from this class.  Most straightforward recommendation is to simply
remove CDVCordovaView, and make CDVViewController's webView property actually be a UIWebView.
 There's currently no custom logic in CDVCordovaView to support a custom view anyway.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message