iphone 6 crash
JackyL90 opened this issue · 3 comments
JackyL90 commented
reason: *** -[AVCaptureSession addInput:] Can't add <AVCaptureDeviceInput: 0x281c50a00 [后置镜头]> because the device does not support AVCaptureSessionPreset3840x2160 - Use -[AVCaptureDevice supportsAVCaptureSessionPreset:]
vlay1314 commented
iphone6已运行就奔溃,这个问题一直没有修复吗?
854907646 commented
我也碰到了,iPhone6一直运行奔溃
JIAiOS commented
这个问题可能是不支持这么高的分辨率,在SGQRCodeManager.m找到_canSetSessionPreset这个方法,注释掉【if ([self.session canSetSessionPreset:AVCaptureSessionPreset3840x2160])】这个方法,其他的保留。就解决了。