e6edc6dc73
This converter is already defined in [RCTScrollViewManager.m](https://github.com/facebook/react-native/blob/master/React/Views/ScrollView/RCTScrollViewManager.m#L40). Redefining it in react-native-webview can cause undefined behaviour when used. Since ScrollView is unlikely to go away, we can take a dependency on it. All current tests should pass. When building a React Native app with `react-native-webview`, the following warning can be seen in the build logs: ``` Meta method 'UIScrollViewContentInsetAdjustmentBehavior:' in category from /~/Library/Developer/Xcode/DerivedData/App-geojljebaazfrrgvxfkjjpiwmdlg/Build/Products/Debug-iphonesimulator/React-Core/libReact-Core.a(RCTScrollViewManager.o) conflicts with same method from another category ``` The warning should go away after removing the offending function. Co-authored-by: Jason Safaiyeh <safaiyeh@protonmail.com> |
||
---|---|---|
.. | ||
RNCWebView.xcodeproj | ||
RNCWKProcessPoolManager.h | ||
RNCWKProcessPoolManager.m | ||
RNCWebView.h | ||
RNCWebView.m | ||
RNCWebViewManager.h | ||
RNCWebViewManager.m |