Commit 549a725f authored by Romain Goyet's avatar Romain Goyet Committed by Felix Paul Kühne

Don't show the menu's navigation bar on the iPad

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 9a5c0f9c
......@@ -284,6 +284,8 @@
[navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"navBarBackgroundPhoneLandscape"]
forBarMetrics:UIBarMetricsLandscapePhone];
self.menuViewController = navigationController;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
navigationController.navigationBarHidden = YES;
}
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment