|
@@ -56,6 +56,7 @@ const NSInteger BLUR_STATUS_TAG = 78264801;
|
56
|
56
|
|
57
|
57
|
- (void)rnn_setDrawBehindTopBar:(BOOL)drawBehind {
|
58
|
58
|
if (drawBehind) {
|
|
59
|
+ [self setExtendedLayoutIncludesOpaqueBars:YES];
|
59
|
60
|
self.edgesForExtendedLayout |= UIRectEdgeTop;
|
60
|
61
|
} else {
|
61
|
62
|
self.edgesForExtendedLayout &= ~UIRectEdgeTop;
|
|
@@ -67,7 +68,6 @@ const NSInteger BLUR_STATUS_TAG = 78264801;
|
67
|
68
|
[self setExtendedLayoutIncludesOpaqueBars:YES];
|
68
|
69
|
self.edgesForExtendedLayout |= UIRectEdgeBottom;
|
69
|
70
|
} else {
|
70
|
|
- [self setExtendedLayoutIncludesOpaqueBars:NO];
|
71
|
71
|
self.edgesForExtendedLayout &= ~UIRectEdgeBottom;
|
72
|
72
|
}
|
73
|
73
|
}
|