[ios] Fixed bug with iPad place page after rotate.

This commit is contained in:
VladiMihaylenko 2016-01-22 12:43:22 +03:00
parent a0a31918cd
commit fe21a5ddc0

View file

@ -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;