How to set the frame for DataScannerViewController? The default scans the whole camera and I need to specify the frame
How to set the frame for DataScannerViewController?
Use the DataScannerViewController's .regionOfInterest.
"If you add interface objects to the live video (using the overlayContainerView property) that might hide items from the user, set this property to restrict the scanning area. The default value is the bounds of the view."