[ios] Disabled toolbar for all ViewControllers except Maps to avoid bad look in SearchVC, when system tray was overlapped on top of Search Text Input and buttons

This commit is contained in:
Alex Zolotarev 2013-09-18 21:28:21 +03:00 committed by Alex Zolotarev
parent 55d6dff45f
commit 9a98188ee8
8 changed files with 42 additions and 0 deletions

View file

@ -105,4 +105,9 @@
return NO;
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end

View file

@ -307,4 +307,9 @@
[super dealloc];
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end

View file

@ -425,4 +425,9 @@
[self presentModalViewController:mailVC animated:YES];
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end

View file

@ -726,4 +726,9 @@ typedef enum {Editing, Saved} Mode;
[self dismissPicker];
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end

View file

@ -77,4 +77,10 @@
[self.navigationController popViewControllerAnimated:YES];
}
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end

View file

@ -341,4 +341,9 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type;
return self.placeAndCompass;
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end

View file

@ -730,4 +730,10 @@ void setSearchType(search::SearchParams & params)
}
}
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end

View file

@ -514,4 +514,9 @@ static bool IsOurIndex(TIndex const & theirs, TIndex const & ours)
[app openURL:[NSURL URLWithString:[NSString stringWithUTF8String:info.GetURL().c_str()]]];
}
- (BOOL)prefersStatusBarHidden
{
return YES;
}
@end