Quellcode durchsuchen

Hide status bar if toolbar is hidden

Felix Paul Kühne vor 12 Jahren
Ursprung
Commit
00691c42d6
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      AspenProject/VLCMovieViewController.m

+ 1 - 0
AspenProject/VLCMovieViewController.m

@@ -153,6 +153,7 @@
     };
 
     [UIView animateWithDuration:0.3f animations:animationBlock completion:completionBlock];
+    [[UIApplication sharedApplication] setStatusBarHidden:_controlsHidden withAnimation:UIStatusBarAnimationFade];
 }
 
 #pragma mark - controls