forked from organicmaps/organicmaps
[MAPSME-3874] [ios] Fixed navigation info view layout on orientation change.
This commit is contained in:
parent
d9f2c58ca8
commit
36a3690991
1 changed files with 5 additions and 2 deletions
|
@ -129,10 +129,13 @@ extern NSString * const kAlohalyticsTapEventKey;
|
|||
{
|
||||
[self.trafficButton viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
|
||||
[self.menuController viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
|
||||
// Workaround needs for setting correct left bound while landscape place page is open.
|
||||
self.navigationManager.leftBound = 0;
|
||||
[self.placePageManager viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
|
||||
[self.searchManager viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
|
||||
[coordinator animateAlongsideTransition:^(
|
||||
id<UIViewControllerTransitionCoordinatorContext> _Nonnull context) {
|
||||
self.navigationManager.leftBound = self.leftBound;
|
||||
}
|
||||
completion:nil];
|
||||
}
|
||||
|
||||
#pragma mark - MWMPlacePageViewManager
|
||||
|
|
Loading…
Add table
Reference in a new issue