I'm encountering an issue with the QR code scanner on my iPad 7th Gen running ipadOS 17.4. While the scanner seems to be functioning normally on the latest iPad 10th Gen (also on ipadOS 17.4), it's not working at all for ipad 7th gen (ipadOS 17.4) on my device.
It's possible that this problem affects other iPad models but for now I've tested just these two models.
Has anyone else experienced similar issues with the QR code scanner? Any suggestions for troubleshooting or a potential fix would be greatly appreciated.
List of tried device:
- ipad 6Gen:
Код: Выделить всё
KO - ipad 7Gen:
Код: Выделить всё
KO - iPad 10Gen:
Код: Выделить всё
OK - iPhone 15:
Код: Выделить всё
OK
I tried to download AVCam project from official documentation of Apple and I confirm that is not working even in their swift project. But the face recognition is working
MetadataOutput
Код: Выделить всё
captureObject = [[AVCaptureMetadataOutput alloc]init]; objectQueue = dispatch_queue_create("VideoDataOutputQueue", NULL);//dispatch_queue_create("newQueue", NULL); [captureObject setMetadataObjectsDelegate:self queue:objectQueue]; Код: Выделить всё
objectQueue = dispatch_queue_create("VideoDataOutputQueue", NULL);//dispatch_queue_create("newQueue", dispatch_get_main_queue()); Код: Выделить всё
- (void)captureOutput:(AVCaptureOutput *)output didOutputMetadataObjects:(NSArray *)metadataObjects fromConnection:(AVCaptureConnection *)connection { if (metadataObjects != nil && metadataObjects.count > 0) { NSLog(@"%@", [metadataObjects objectAtIndex:0]); } } } Источник: https://stackoverflow.com/questions/781 ... -qrscanner
Мобильная версия