[
https://issues.apache.org/jira/browse/CB-8463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317183#comment-14317183
]
Shazron Abdullah commented on CB-8463:
--------------------------------------
This is because in 4.x the webView property is now a UIView to accommodate
either the UIWebView or WKWebView.
The fix is to test the webView if it respondsToSelector @selector(scrollView)
and if it does, then set scrollsToTop, etc.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]