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