mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 10:58:16 +00:00
Merge pull request #82 from vitalyrotari/master
Update ImageCropPicker.m
This commit is contained in:
commit
eb6653c18e
@ -108,7 +108,9 @@ RCT_EXPORT_METHOD(openCamera:(NSDictionary *)options
|
|||||||
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
|
picker.sourceType = UIImagePickerControllerSourceTypeCamera;
|
||||||
picker.delegate = self;
|
picker.delegate = self;
|
||||||
|
|
||||||
[[self getRootVC] presentViewController:picker animated:YES completion:nil];
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
|
[[self getRootVC] presentViewController:picker animated:YES completion:nil];
|
||||||
|
});
|
||||||
}];
|
}];
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user