Skip to content
Permalink
Browse files
CB-13854(ios): fix Camera opens in portrait orientation on iphones
  • Loading branch information
jcesarmobile authored and macdonst committed Feb 12, 2018
1 parent e25aed9 commit 7c90555bd4bfbbdfe23f357f130eb1bbb7e4fce6
Showing 1 changed file with 1 addition and 0 deletions.
@@ -206,6 +206,7 @@ - (void)takePicture:(CDVInvokedUrlCommand*)command
[weakSelf displayPopover:pictureOptions.popoverOptions];
weakSelf.hasPendingOperation = NO;
} else {
cameraPicker.modalPresentationStyle = UIModalPresentationCurrentContext;
[weakSelf.viewController presentViewController:cameraPicker animated:YES completion:^{
weakSelf.hasPendingOperation = NO;
}];

0 comments on commit 7c90555

Please sign in to comment.