Example App crashes on iOS 10.0 - Thread 1: EXC_BAD_ACCESS (code=1, address=0x50)
artoymsd opened this issue · 3 comments
artoymsd commented
public init(metadataObjectTypes types: [AVMetadataObject.ObjectType], captureDevicePosition: AVCaptureDevice.Position) {
metadataObjectTypes = types
previewLayer = AVCaptureVideoPreviewLayer(session: session) - CRASHED LINE
super.init()
sessionQueue.async {
self.configureDefaultComponents(withCaptureDevicePosition: captureDevicePosition)
}
}
yannickl commented
I have no device with iOS10. Could someone help?