Apps integrating Cordova with Swift codebases will not compile if Swift classes feature scrollView members in UIView subclasses with visibility less than public. Integrating Cordova would be easier without this extension.
Alternatives or Workarounds
Integrators can manually delete the @interface from the public header file to avoid compilation issues.
Feature Request
Cordova contains
org_apache_cordova_UIView_Extension
inCDVPlugin.h
:with an implementation in
CDVPlugin.m
:It appears Cordova only uses the
scrollView
property onWKWebView
instances, andWKWebView
has exposed ascrollView
property since iOS8, and Cordova's iOS Platform Guide says iOS 11 is the minimum version required for devices to run Cordova. Thus, this extension and artificial property is unnecessary.Motivation Behind Feature
Apps integrating Cordova with Swift codebases will not compile if Swift classes feature
scrollView
members inUIView
subclasses with visibility less thanpublic
. Integrating Cordova would be easier without this extension.Alternatives or Workarounds
Integrators can manually delete the
@interface
from the public header file to avoid compilation issues.