diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m index 37b4ec8..c71de05 100644 --- a/src/ios/CDVCamera.m +++ b/src/ios/CDVCamera.m @@ -206,6 +206,7 @@ static NSString* toBase64(NSData* data) { [weakSelf displayPopover:pictureOptions.popoverOptions]; weakSelf.hasPendingOperation = NO; } else { + cameraPicker.modalPresentationStyle = UIModalPresentationCurrentContext; [weakSelf.viewController presentViewController:cameraPicker animated:YES completion:^{ weakSelf.hasPendingOperation = NO; }];