Skip to content

Commit

Permalink
Remove unused properties
Browse files Browse the repository at this point in the history
  • Loading branch information
pyby committed Jan 4, 2021
1 parent 127693c commit 9b49908
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/SRGMediaPlayer/SRGPictureInPictureFix.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ - (void)applicationDidBecomeActive:(NSNotification *)notification
// Somehow Apple manages to circumvent this issue internally with `AVPlayerViewController` which, if
// displayed once, ensures proper behavior afterwards.
SRGDummyPlayerViewController *playerViewController = [[SRGDummyPlayerViewController alloc] init];
playerViewController.modalPresentationStyle = UIModalPresentationOverCurrentContext;
playerViewController.definesPresentationContext = NO;
playerViewController.player = [AVPlayer new];

UIView *playerView = playerViewController.view;
Expand Down

0 comments on commit 9b49908

Please sign in to comment.