Open multinerd opened 7 years ago
after a few hours of tinkering, i've figured out the problem...
inside CameraEngineMetadataOutput.swift
the method
func captureOutput(_ captureOutput: AVCaptureOutput!, didOutputMetadataObjects metadataObjects: [AnyObject]!, from connection: AVCaptureConnection!)
was replaced with
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection)
Using the example provided, ive added the following lines to viewDidLoad()
and am unable to detect ean13 codes. is there something else i need to do?