diff --git a/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm b/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm index 3a64a99acc..c3531adbdd 100644 --- a/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm +++ b/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm @@ -279,4 +279,10 @@ CGAffineTransform rotation(UIInterfaceOrientation orientation) self.frame = view.bounds; } +- (void)layoutSubviews +{ + [super layoutSubviews]; + self.frame = self.superview.bounds; +} + @end