cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8463) StatusBarPlugin Issue scrollView not found when using WKWebView
Date Thu, 12 Mar 2015 12:58:38 GMT

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

Ian Clelland commented on CB-8463:
----------------------------------

I didn't see that line in the docs -- thanks for pointing it out.

Unfortunately, we're breaking our own rule several times :) It's not just battery-status --
apparently that was just XCode showing me one error at a time. Several of our core plugins
use it:

  * battery-status
  * contacts
  * device-orientation
  * file
  * geolocation
  * globalization
  * inappbrowser
  * media-capture
  * network-information

Two-stage initialization is probably the best way to do it in iOS, as long as it's backwards-compatible.
(We ran into a very similar situation with Android, and had to do lots of reflection to get
around it, because there wasn't another backwards-compatible solution)

We'll just have to make sure we get those out some time before we push 4.0.0 :)

> 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


Mime
View raw message