Popover dismissing fix
This commit is contained in:
parent
71a5480033
commit
d7f13b4088
1 changed files with 5 additions and 1 deletions
|
@ -240,7 +240,11 @@ static NSString * mapsWithMeIsNotInstalledPage =
|
|||
MWMNavigationController * navController = [[MWMNavigationController alloc] initWithRootViewController:webController];
|
||||
navController.navigationBar.topItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Close" style:UIBarButtonItemStyleDone target:navController action:@selector(onCloseButtonClicked:)];
|
||||
|
||||
[[[UIApplication sharedApplication] delegate].window.rootViewController presentModalViewController:navController animated:YES];
|
||||
UIWindow * window = [[UIApplication sharedApplication].windows firstObject];
|
||||
if ([window.subviews count] == 2)
|
||||
[[window.subviews lastObject] removeFromSuperview];
|
||||
|
||||
[window.rootViewController presentModalViewController:navController animated:YES];
|
||||
}
|
||||
|
||||
+ (void)setOpenUrlOnBalloonClick:(BOOL)value
|
||||
|
|
Loading…
Add table
Reference in a new issue