Enhance PictureInPicturable protocol

This commit is contained in:
ismailgulek
2021-06-09 13:53:35 +03:00
parent 27dfe850d1
commit be2399b4e5
4 changed files with 30 additions and 10 deletions
+7 -2
View File
@@ -689,12 +689,17 @@
#pragma mark - PictureInPicturable
- (void)enterPiP
- (void)didEnterPiP
{
self.inPiP = YES;
}
- (void)exitPiP
- (void)willExitPiP
{
self.pipViewContainer.hidden = YES;
}
- (void)didExitPiP
{
self.inPiP = NO;
}