Merge pull request #2958 from igrechuhin/MAPSME-921

[ios] Fixed crash.
This commit is contained in:
Sergey Yershov 2016-04-22 12:18:56 +04:00
commit e3dc9ced89

View file

@ -139,6 +139,7 @@ static NSString * const kAlertControllerNibIdentifier = @"MWMAlertViewController
- (void)displayAlert:(MWMAlert *)alert
{
[self removeFromParentViewController];
alert.alertController = self;
[self.ownerViewController addChildViewController:self];
self.view.alpha = 0.;