|
@@ -292,7 +292,7 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
|
292
|
292
|
// rnn issue - https://github.com/wix/react-native-navigation/issues/1858
|
293
|
293
|
- (void)_traverseAndFixScrollViewSafeArea:(UIView *)view {
|
294
|
294
|
#ifdef __IPHONE_11_0
|
295
|
|
- if ([view isKindOfClass:UIScrollView.class]) {
|
|
295
|
+ if ([view isKindOfClass:UIScrollView.class] && [view respondsToSelector:@selector(setContentInsetAdjustmentBehavior:)]) {
|
296
|
296
|
[((UIScrollView*)view) setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
|
297
|
297
|
}
|
298
|
298
|
|