Update RCTCameraManager.m
This commit is contained in:
parent
b97e153ec9
commit
301620ef90
|
@ -744,7 +744,7 @@ didFinishRecordingToOutputFileAtURL:(NSURL *)outputFileURL
|
|||
|
||||
for (AVMetadataMachineReadableCodeObject *metadata in metadataObjects) {
|
||||
for (id barcodeType in [self getBarCodeTypes]) {
|
||||
if (metadata.type == barcodeType) {
|
||||
if ([metadata.type isEqualToString:barcodeType]) {
|
||||
// Transform the meta-data coordinates to screen coords
|
||||
AVMetadataMachineReadableCodeObject *transformed = (AVMetadataMachineReadableCodeObject *)[_previewLayer transformedMetadataObjectForMetadataObject:metadata];
|
||||
|
||||
|
|
Loading…
Reference in New Issue