Xcode AVCapturesession scan Barcode in specific frame (rectOfInterest is not working)
问题 I am trying to design a barcode scanner for an App i am currently working on. I want the scanner preview to fill the whole screen of the device and provide a smaller frame to point at barcodes. All is working how i want it but i can not get the frame of interest to work. Here is the Implementation of the barcode scanner: #import "GEScannerViewController.h" @import AVFoundation; @interface GEScannerViewController () <AVCaptureMetadataOutputObjectsDelegate> { AVCaptureSession *_session;