yogevbd 7 年前
父节点
当前提交
a776670690
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      lib/ios/RNNBottomTabsOptions.m

+ 2
- 0
lib/ios/RNNBottomTabsOptions.m 查看文件

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
 	}