yogevbd 6 years ago
parent
commit
a776670690
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/ios/RNNBottomTabsOptions.m

+ 2
- 0
lib/ios/RNNBottomTabsOptions.m View File

25
 	
25
 	
26
 	if (self.drawBehind) {
26
 	if (self.drawBehind) {
27
 		if ([self.drawBehind boolValue]) {
27
 		if ([self.drawBehind boolValue]) {
28
+			[viewController setExtendedLayoutIncludesOpaqueBars:YES];
28
 			viewController.edgesForExtendedLayout |= UIRectEdgeBottom;
29
 			viewController.edgesForExtendedLayout |= UIRectEdgeBottom;
29
 		} else {
30
 		} else {
31
+			[viewController setExtendedLayoutIncludesOpaqueBars:NO];
30
 			viewController.edgesForExtendedLayout &= ~UIRectEdgeBottom;
32
 			viewController.edgesForExtendedLayout &= ~UIRectEdgeBottom;
31
 		}
33
 		}
32
 	}
34
 	}