From e7e4ba1af752b19cc0f1b653913c9a0312ab6216 Mon Sep 17 00:00:00 2001 From: Srikanth Myadam Date: Thu, 30 Jul 2020 14:01:29 +0530 Subject: [PATCH] Set the presentation to full screen explicity from iOS 13.0 --- src/ios/CDVBarcodeScanner.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ios/CDVBarcodeScanner.mm b/src/ios/CDVBarcodeScanner.mm index 41ab7647..1797030c 100644 --- a/src/ios/CDVBarcodeScanner.mm +++ b/src/ios/CDVBarcodeScanner.mm @@ -358,6 +358,9 @@ - (void)scanBarcode { //-------------------------------------------------------------------------- - (void)openDialog { + if (@available(iOS 13.0, *)) { + [self.viewController setModalPresentationStyle:UIModalPresentationFullScreen]; + } [self.parentViewController presentViewController:self.viewController animated:self.isTransitionAnimated completion:nil