forked from organicmaps/organicmaps
[ios] SearchVC navigation bar iPad fix
This commit is contained in:
parent
e13421a795
commit
ac68a6cd39
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ static void OnSearchResultCallback(search::Results const & res)
|
|||
CGFloat landscapeHeight = 32;
|
||||
CGFloat portraitHeight = 44;
|
||||
self.navigationController.navigationBar.height = portraitHeight;
|
||||
if (UIDeviceOrientationIsLandscape(self.interfaceOrientation))
|
||||
if (UIDeviceOrientationIsLandscape(self.interfaceOrientation) && !IPAD)
|
||||
m_table.minY = portraitHeight - landscapeHeight;
|
||||
else
|
||||
m_table.minY = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue