You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2015/03/11 16:27:38 UTC

[jira] [Comment Edited] (CB-8463) StatusBarPlugin Issue scrollView not found when using WKWebView

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

Ian Clelland edited comment on CB-8463 at 3/11/15 3:26 PM:
-----------------------------------------------------------

This patch seems to break (at least) the battery-status plugin -- it uses the *public* api

{code}
- (instancetype)initWithWebView:(UIView*)theWebView
{code}

which is removed by this patch, and I don't see an easy way to back-fill it. I don't think there's a way to get at the WebViewEngine from the bare UIView now.

Is there a plan for backwards compatibility? There are probably other third-party plugins affected as well.


was (Author: iclelland):
This patch seems to break (at least) the battery-status plugin -- it uses the *public* api

- (instancetype)initWithWebView:(UIView*)theWebView

which is removed by this patch, and I don't see an easy way to back-fill it. I don't think there's a way to get at the WebViewEngine from the bare UIView now.

Is there a plan for backwards compatibility? There are probably other third-party plugins affected as well.

> StatusBarPlugin Issue scrollView not found when using WKWebView
> ---------------------------------------------------------------
>
>                 Key: CB-8463
>                 URL: https://issues.apache.org/jira/browse/CB-8463
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin Statusbar
>         Environment: iOS 8 
>            Reporter: Holly Schinsky
>            Assignee: Shazron Abdullah
>
> When using the WKWebView Plugin and the StatusBarPlugin together, the following error is received from the *CDVStatusBar.m* class:
> {code}
>      CDVStatusBar.m:128:18: error: 
>       property 'scrollView' not found on object of type 'UIView *'
>     self.webView.scrollView.scrollsToTop = NO;
> {code}



--
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