Commit 31bc9387 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

UIStatusBarStyleBlackTranslucent is available on the phone interface idiom only

parent 2d98a634
......@@ -41,7 +41,8 @@
- (void)viewWillAppear:(BOOL)animated
{
[self.navigationController setNavigationBarHidden:YES animated:NO];
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent;
[super viewWillAppear:animated];
}
......
......@@ -85,7 +85,8 @@
{
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:YES];
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackTranslucent;
if (!self.mediaItem)
return;
......
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