Post

Replies

Boosts

Views

Activity

Reply to iOS 16 native scan code rectOfInterest setting failed
I also encountered the same problem, on iOS16, it seems that the QR code cannot be set at the same time as the barcode. // self.output.metadataObjectTypes=@[AVMetadataObjectTypeQRCode,                  AVMetadataObjectTypeEAN13Code,                  AVMetadataObjectTypeEAN8Code,                  AVMetadataObjectTypeUPCECode,                  AVMetadataObjectTypeCode39Code,                  AVMetadataObjectTypeCode39Mod43Code,                  AVMetadataObjectTypeCode93Code,                  AVMetadataObjectTypeCode128Code,                  AVMetadataObjectTypePDF417Code,                  AVMetadataObjectTypeDataMatrixCode]; // Before iOS15, I set it like this and it worked fine. After iOS16, it fails. I removed, AVMetadataObjectTypeQRCode AVMetadataObjectTypeDataMatrixCode, it can correctly identify the barcode. But before iOS15, QR code and barcode are used at the same time, this is a bug of iOS16 system, I hope to get professional answers from Apple developers, thank you!
Sep ’22
Reply to iOS 16 - Scanning barcode
I also encountered the same problem, on iOS16, it seems that the QR code cannot be set at the same time as the barcode. // self.output.metadataObjectTypes=@[AVMetadataObjectTypeQRCode,                  AVMetadataObjectTypeEAN13Code,                  AVMetadataObjectTypeEAN8Code,                  AVMetadataObjectTypeUPCECode,                  AVMetadataObjectTypeCode39Code,                  AVMetadataObjectTypeCode39Mod43Code,                  AVMetadataObjectTypeCode93Code,                  AVMetadataObjectTypeCode128Code,                  AVMetadataObjectTypePDF417Code,                  AVMetadataObjectTypeDataMatrixCode]; // Before iOS15, I set it like this and it worked fine. After iOS16, it fails. I removed, AVMetadataObjectTypeQRCode AVMetadataObjectTypeDataMatrixCode, it can correctly identify the barcode. But before iOS15, QR code and barcode are used at the same time, this is a bug of iOS16 system, I hope to get professional answers from Apple developers, thank you!
Sep ’22