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.


Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer