Posts

Showing posts with the label Ios11

AVCaptureMetadataOutputObjectsDelegate Not Called In Swift 4 For QR Scanner

Answer : Okay I've found an update here. Found that AVCaptureMetadataOutputObjectsDelegate method is changed from captureOutput(_ captureOutput: AVCaptureOutput!, didOutputMetadataObjects metadataObjects: [Any]!, from connection: AVCaptureConnection!) to metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) After changing this delegate method, its working good now.