forked from organicmaps/organicmaps-tmp
[ios] Fixed bug with iPad place page after rotate.
This commit is contained in:
parent
a0a31918cd
commit
fe21a5ddc0
1 changed files with 2 additions and 0 deletions
|
@ -272,6 +272,8 @@ static CGFloat const kKeyboardOffset = 12.;
|
|||
|
||||
- (void)updatePlacePageLayoutAnimated:(BOOL)animated
|
||||
{
|
||||
if (![self.navigationController.topViewController isKindOfClass:[MWMiPadPlacePageViewController class]])
|
||||
return;
|
||||
[UIView animateWithDuration:animated ? kDefaultAnimationDuration : 0.0 animations:^
|
||||
{
|
||||
CGFloat const ppHeight = self.basePlacePageView.height;
|
||||
|
|
Loading…
Add table
Reference in a new issue