Merge branch 'bugfix/tab_bar_init' into 'develop'
Tab bar padding fix See merge request BPHV_MIPS/mvm_core_ui!566
This commit is contained in:
commit
4f52d877a0
@ -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