aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordharmesh <dharmesh.r.chauhan@gmail.com>2020-07-11 08:47:45 +0530
committerCommit Bot <commit-bot@chromium.org>2020-07-17 07:15:36 +0000
commit13fbc08b938ec14cd9a975898c912911f731059b (patch)
treed31756f01a0f9f08dc988a50d85a10d00a8d431a /examples
parentb8c03e40673fccdc9be3cc731d627de87f38ea03 (diff)
downloadwebrtc-13fbc08b938ec14cd9a975898c912911f731059b.tar.gz
Explicitly set presentation style to full screen, because,
otherwise it is showing in page sheet. Bug: webrtc:11786 Change-Id: I66e24127c249d342dc3cc3df20a78dcde0429da3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/179040 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31751}
Diffstat (limited to 'examples')
-rw-r--r--examples/objc/AppRTCMobile/ios/ARDMainViewController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/objc/AppRTCMobile/ios/ARDMainViewController.m b/examples/objc/AppRTCMobile/ios/ARDMainViewController.m
index dea7742a1b..a3ede07f3b 100644
--- a/examples/objc/AppRTCMobile/ios/ARDMainViewController.m
+++ b/examples/objc/AppRTCMobile/ios/ARDMainViewController.m
@@ -134,6 +134,7 @@ static NSString *const loopbackLaunchProcessArgument = @"loopback";
delegate:self];
videoCallViewController.modalTransitionStyle =
UIModalTransitionStyleCrossDissolve;
+ videoCallViewController.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentViewController:videoCallViewController
animated:YES
completion:nil];