diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m index 37bc716..e5ba1ee 100644 --- a/src/ios/CDVCamera.m +++ b/src/ios/CDVCamera.m @@ -167,9 +167,11 @@ static NSString* toBase64(NSData* data) { weakSelf.hasPendingOperation = NO; } else { - [weakSelf.viewController presentViewController:cameraPicker animated:YES completion:^{ - weakSelf.hasPendingOperation = NO; - }]; + dispatch_async(dispatch_get_main_queue(), ^{ + [weakSelf.viewController presentViewController:cameraPicker animated:YES completion:^{ + weakSelf.hasPendingOperation = NO; + }]; + }); } }]; }