Commit 744692ee authored by Tobias's avatar Tobias
Browse files

fix mini player visibility on iOS 7 fixes #14977

parent c53f8bc7
......@@ -244,7 +244,7 @@ static inline void commonSetup(VLCPlayerDisplayController *self)
const BOOL activePlaybackSession = playbackController.activePlaybackSession;
const BOOL miniPlayerVisible = miniPlaybackView.visible;
const CGRect viewRect = self.view.frame;
const CGRect viewRect = self.view.bounds;
const CGFloat miniPlayerHeight = 60.;
const CGRect miniPlayerFrameIn = CGRectMake(0., viewRect.size.height-miniPlayerHeight, viewRect.size.width, miniPlayerHeight);
const CGRect miniPlayerFrameOut = CGRectMake(0., viewRect.size.height, viewRect.size.width, miniPlayerHeight);
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