forked from organicmaps/organicmaps
[iOS] Api Back url no blinking anymore
This commit is contained in:
parent
90bfc3c64d
commit
5fee377897
1 changed files with 2 additions and 2 deletions
|
@ -689,18 +689,18 @@ NSInteger compareAddress(id l, id r, void * context)
|
|||
|
||||
- (void) clearApiBar
|
||||
{
|
||||
self.navigationController.navigationBarHidden = YES;
|
||||
_isApiMode = NO;
|
||||
self.navigationController.navigationItem.title = @"";
|
||||
GetFramework().ClearMapApiPoints();
|
||||
[self Invalidate];
|
||||
[self.navigationController setNavigationBarHidden:YES animated:YES];
|
||||
}
|
||||
|
||||
-(void)returnToApiApp
|
||||
{
|
||||
NSString * backUrl = [NSString stringWithUTF8String:GetFramework().GetMapApiBackUrl().c_str()];
|
||||
[self clearApiBar];
|
||||
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:backUrl]];
|
||||
[self clearApiBar];
|
||||
}
|
||||
|
||||
-(BOOL) shouldShowNavBar
|
||||
|
|
Loading…
Add table
Reference in a new issue