Questions tagged [datascannerviewcontroller]
5 questions
2
votes
1 answer
Enable/Disable torch with DataScannerViewController
On iOS16, I try to use the DataScannerViewController (for barcode reading) to remplace old way with Vision but when I enable the torch, DataScannerViewController is freezing...
The code to enable/disable torch :
guard let device =…

neilaur
- 71
- 6
1
vote
0 answers
Limit DataScannerViewController text recognition | Swift/Xcode/VisionKit
I'm attempting to make the DataScannerViewController (VisionKit) only recognize VIN numbers. Currently, when I hold the camera up to a data plate, it reads all kinds of text, so I can't just grab the VIN number. I would like for the camera to ONLY…

Christian W
- 353
- 2
- 12
0
votes
0 answers
Swiftui DataScannerViewController config guide
I'm implementing a DataScannerViewController view but I need to change the user guide view or text.
Can I achieve this with DataScannerViewController or do I have to switch back to Vision and AVFoundation
Thank You For Your Help

MinhToan
- 1
0
votes
0 answers
Is Data Scan in Dataplex available for Americas São Paulo?
I tried to create a profile in Data Scan, a PRE-OFFERING in Dataplex, but even having the Admin permisssions, an error occured making it impossible to test data scan. I submitted a feedback but I still have no answer about it. Can anyone help?
I…
0
votes
1 answer
Convert from VisonKit RecognizedItem bounds to view bounds
I'm trying to implement custom highlight views for iOS 16 DataScannerViewController. So far I can add the subviews to the overlayContainerView but I'm struggling with converting from the item bounds to the view bounds.
func dataScanner(_…

Nico S.
- 3,056
- 1
- 30
- 64