Tab bar padding fix
This commit is contained in:
parent
8ae5d7f2a9
commit
2a863506bd
@ -808,7 +808,7 @@ CGFloat const PanelAnimationDuration = 0.2;
|
||||
self.tabBar.hidden = !showing;
|
||||
self.bottomConstraint.active = NO;
|
||||
if (showing && self.tabBar) {
|
||||
NSLayoutConstraint *bottom = [self.view.safeAreaLayoutGuide.bottomAnchor constraintEqualToAnchor:self.tabBar.bottomAnchor];
|
||||
NSLayoutConstraint *bottom = [self.view.bottomAnchor constraintEqualToAnchor:self.tabBar.bottomAnchor];
|
||||
bottom.active = YES;
|
||||
self.bottomConstraint = bottom;
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user