Post

Replies

Boosts

Views

Activity

Why does iOS 17.1 stop supporting `Shift_JIS` encoding with QR codes?
Hi all, I've not found any articles about this change: iOS Camera app can no longer decode a QR code encoded with Shift_JIS. Sample QR code: Text: こんにちは iOS 17.0.2: detected and decoded successfully iOS 17.1: detected but couldn't decode the value I also created simple app for scanning QR code (based on tutorial a https://www.hackingwithswift.com/example-code/media/how-to-scan-a-qr-code and it has the same results. I cannot find a way to inject the corresponding to AVCaptureMetadataOutput Is this a bug of iOS 17.1 or an expected update? PS: The same behavior still persists in iOS 17.1.1 Thanks
0
0
357
Nov ’23
iOS/iPadOS 17.1 has new issue with QR scanning
After upgrading to iOS 17.1, I can't scan some QR codes. The same codes can be scanned correctly before. In details iPadOS 17.0 and earlier: Works well iPadOS 17.1: Something goes wrong Sample project code: func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) { captureSession.stopRunning() if let metadataObject = metadataObjects.first { guard let readableObject = metadataObject as? AVMetadataMachineReadableCodeObject else { return } guard let stringValue = readableObject.stringValue else { foundButInvalid() return } found(code: stringValue) } } Sample QR code
3
1
1.1k
Oct ’23