From 1332ba06d99307ae9383da1835113c39b7ce870a Mon Sep 17 00:00:00 2001 From: Nakharin Donsuypae <50242129+nakhadon@users.noreply.github.com> Date: Tue, 26 Nov 2019 15:15:58 +0100 Subject: [PATCH] Removing gap and changed to fullscreen --- src/ios/CDVBarcodeScanner.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ios/CDVBarcodeScanner.mm b/src/ios/CDVBarcodeScanner.mm index 41ab7647..f6fd03d6 100644 --- a/src/ios/CDVBarcodeScanner.mm +++ b/src/ios/CDVBarcodeScanner.mm @@ -358,6 +358,9 @@ - (void)scanBarcode { //-------------------------------------------------------------------------- - (void)openDialog { + + [self.viewController setModalPresentationStyle:UIModalPresentationFullScreen]; + [self.parentViewController presentViewController:self.viewController animated:self.isTransitionAnimated completion:nil