|
|
|
|
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
|
}
|