Explorar el Código

Hide status bar if toolbar is hidden

Felix Paul Kühne hace 12 años
padre
commit
00691c42d6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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