[iOS] Api Back url no blinking anymore

This commit is contained in:
Kirill Zhdanovich 2013-07-03 19:17:58 +03:00 committed by Alex Zolotarev
parent 90bfc3c64d
commit 5fee377897

View file

@ -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