|
@@ -57,21 +57,19 @@ const NSInteger BLUR_STATUS_TAG = 78264801;
|
57
|
57
|
}
|
58
|
58
|
|
59
|
59
|
- (void)setDrawBehindTopBar:(BOOL)drawBehind {
|
60
|
|
- if (drawBehind) {
|
61
|
|
- [self setExtendedLayoutIncludesOpaqueBars:YES];
|
62
|
|
- self.edgesForExtendedLayout |= UIRectEdgeTop;
|
63
|
|
- } else {
|
64
|
|
- self.edgesForExtendedLayout &= ~UIRectEdgeTop;
|
65
|
|
- }
|
|
60
|
+ if (drawBehind) {
|
|
61
|
+ self.edgesForExtendedLayout |= UIRectEdgeTop;
|
|
62
|
+ } else {
|
|
63
|
+ self.edgesForExtendedLayout &= ~UIRectEdgeTop;
|
|
64
|
+ }
|
66
|
65
|
}
|
67
|
66
|
|
68
|
67
|
- (void)setDrawBehindTabBar:(BOOL)drawBehindTabBar {
|
69
|
|
- if (drawBehindTabBar) {
|
70
|
|
- [self setExtendedLayoutIncludesOpaqueBars:YES];
|
71
|
|
- self.edgesForExtendedLayout |= UIRectEdgeBottom;
|
72
|
|
- } else {
|
73
|
|
- self.edgesForExtendedLayout &= ~UIRectEdgeBottom;
|
74
|
|
- }
|
|
68
|
+ if (drawBehindTabBar) {
|
|
69
|
+ self.edgesForExtendedLayout |= UIRectEdgeBottom;
|
|
70
|
+ } else {
|
|
71
|
+ self.edgesForExtendedLayout &= ~UIRectEdgeBottom;
|
|
72
|
+ }
|
75
|
73
|
}
|
76
|
74
|
|
77
|
75
|
- (void)setTabBarItemBadge:(NSString *)badge {
|