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

View File

@@ -346,7 +346,7 @@ static NSString * _Nonnull kJitsiFeatureFlagChatEnabled = @"chat.enabled";
#pragma mark - PictureInPicturable
- (void)enterPiP
- (void)didEnterPiP
{
self.overlayViews = [self overlayViewsIn:self.view];
for (UIView *view in self.overlayViews)
@@ -355,7 +355,7 @@ static NSString * _Nonnull kJitsiFeatureFlagChatEnabled = @"chat.enabled";
}
}
- (void)exitPiP
- (void)didExitPiP
{
for (UIView *view in self.overlayViews)
{