Skip to content

Commit

Permalink
fix for ios11 #3 #4 #5
Browse files Browse the repository at this point in the history
  • Loading branch information
priore committed Nov 5, 2017
1 parent 00663c9 commit ba2dbc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AVPlayerOverlay/AVPlayer/AVPlayerVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ - (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];

[self.view bringSubviewToFront:_overlayVC.view];
[self.view bringSubviewToFront:_pipOverlayVC.view];

[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
[self becomeFirstResponder];

Expand Down

0 comments on commit ba2dbc7

Please # to comment.