BarcodeScanner icon indicating copy to clipboard operation
BarcodeScanner copied to clipboard

iPad issue: Video capture viewport not working in split mode

Open schleussinger opened this issue 2 years ago • 1 comments

Hi, first off, thank you for a wonderful barcode scanning solution, which i will shortly integrate into my iOS app RetroChecker. I have one remaining problem with using it: The solution works fine on iPhone and iPad, but when i use Split Window on iPad (e.g. one half of screen for my App only), and then initialize the BarcodeScannerViewController, the viewport stays black. As soon as i expand the window to full screen, it works fine.

As i find time, i may also elaborate myself what is going on there, but any help how to make this work would be highly appreciated.

schleussinger avatar Sep 01 '22 07:09 schleussinger

update - looked into it, and it seems it's an iOS limitation. It will only be supported from iOS 16 onwards: https://developer.apple.com/documentation/avfoundation/avcapturesession/4013227-multitaskingcameraaccessenabled

schleussinger avatar Sep 01 '22 07:09 schleussinger