mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2026-07-30 00:00:07 +08:00
Currently this works because of a category extension that adds a `scrollView` method to every UIView instance, but that causes issues for SwiftUI so we want to remove that extension from cordova-ios. Since we do need to be able to look up the scrollView in this plugin, we can just define a private local method that does the same thing in a way that doesn't pollute global UIKit classes. Ref: https://github.com/apache/cordova-ios/pull/1400