Skip to content

Commit

Permalink
Merge pull request #38 from l4u/patch-1
Browse files Browse the repository at this point in the history
UIViewControllerBasedStatusBarAppearance should be set as NO
  • Loading branch information
u10int committed Oct 10, 2014
2 parents 0bbb818 + b4fb649 commit ce20309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion URBMediaFocusViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ - (void)showImage:(UIImage *)image fromRect:(CGRect)fromRect {
[self createViewsForBackground];

// hide status bar, but store whether or not we need to unhide it later when dismissing this view
// NOTE: in iOS 7+, this only works if you set `UIViewControllerBasedStatusBarAppearance` to YES in your Info.plist
// NOTE: in iOS 7+, this only works if you set `UIViewControllerBasedStatusBarAppearance` to NO in your Info.plist
_unhideStatusBarOnDismiss = ![UIApplication sharedApplication].statusBarHidden;
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];

Expand Down

0 comments on commit ce20309

Please sign in to comment.