cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-8463) StatusBarPlugin Issue scrollView not found when using WKWebView
Date Thu, 12 Mar 2015 21:28:38 GMT


Shazron Abdullah commented on CB-8463:

Ouch - that's embarrassing :) Probably pre-3.0 code that we never bothered to update to pluginInitialize
when 3.x rolled around.

What do you mean by "two-stage initialization"? Are you suggesting we still keep support for
initWithWebView somehow? I would think that moving to a major version that would give us latitude
to break this dependency especially since it was never publicly documented. I'm not opposed
to it, and it's not a hard technical problem --  we could start a discussion on the ML regarding
this for sure.

Inspecting how the initialization works, the initWithWebView(Engine) is called first, then
pluginInitialize not soon after, so there won't be timing issues related to this (hopefully).

For initWithWebViewEngine, I'm going to remove it from the public API and put it in a private
header instead, so there won't be this problem in the future.

> StatusBarPlugin Issue scrollView not found when using WKWebView
> ---------------------------------------------------------------
>                 Key: CB-8463
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message