Skip to content

Commit

Permalink
fixes draggable view on exit PIP modality
Browse files Browse the repository at this point in the history
  • Loading branch information
priore committed Jul 5, 2017
1 parent b0ca3d0 commit 0f69ec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AVPlayerOverlay.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AVPlayerOverlay'
s.version = '1.10.4'
s.version = '1.10.5'
s.summary = 'AVPlayer with custom controls and full screen features.'
s.license = 'MIT'
s.authors = { 'Danilo Priore' => 'support@prioregroup.com' }
Expand Down
2 changes: 2 additions & 0 deletions AVPlayerOverlay/AVPlayer/AVPlayerOverlayVC.m
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,8 @@ - (void)animmatedPIPDeactivationWithDuration:(CGFloat)duration animation:(void (
UIViewController *parent = self.parentViewController; // AVPlayerViewController
if (parent) {

[parent.view setDraggable:NO];

[self willPIPDeactivationViewController:parent];
[self showMainParentBeforePIPDeactivation];

Expand Down

0 comments on commit 0f69ec3

Please # to comment.