From e544b58e7083be559c203bee86774c75faf362b9 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Fri, 2 Sep 2016 17:09:00 +0300 Subject: [PATCH] [ios] Fixed alerts layout. --- iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm | 6 ++++++ 1 file changed, 6 insertions(+) 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