From e1f51d50705d5b3f0211ddfbbb847e3f8f5b2dff Mon Sep 17 00:00:00 2001 From: zher52 Date: Fri, 25 Feb 2022 10:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dios13=E6=8B=8D=E6=91=84?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E6=9C=AA=E5=85=A8=E5=B1=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ios/CapturePlugin.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ios/CapturePlugin.m b/src/ios/CapturePlugin.m index 663c317..c1e6ae7 100644 --- a/src/ios/CapturePlugin.m +++ b/src/ios/CapturePlugin.m @@ -23,6 +23,9 @@ vc.view.frame = CGRectMake(0, 0,vc.view.frame.size.width,vc.view.frame.size.height); // Run later to avoid the "took a long time" log message. dispatch_async(dispatch_get_main_queue(), ^{ + if (@available(iOS 13.0, *)){ + vc.modalPresentationStyle = UIModalPresentationFullScreen; + } [self.viewController presentViewController:vc animated:YES completion:nil]; }); }