Skip to content

Commit

Permalink
Set the presentation to full screen explicitly from iOS 13.0 (phonega…
Browse files Browse the repository at this point in the history
  • Loading branch information
dpa99c committed Jul 19, 2022
1 parent caea517 commit f751895
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ios/CDVBarcodeScanner.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f751895

Please sign in to comment.