mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 10:58:16 +00:00
parent
362126ba99
commit
5a94230f56
@ -108,7 +108,9 @@ RCT_EXPORT_METHOD(openCamera:(NSDictionary *)options
|
||||
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
|
||||
picker.delegate = self;
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[[self getRootVC] presentViewController:picker animated:YES completion:nil];
|
||||
});
|
||||
}];
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user