Parcourir la source

Hide status bar if toolbar is hidden

Felix Paul Kühne il y a 12 ans
Parent
commit
00691c42d6
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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