Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iphone 6 crash #163

Closed
JackyL90 opened this issue Jun 7, 2021 · 3 comments
Closed

iphone 6 crash #163

JackyL90 opened this issue Jun 7, 2021 · 3 comments

Comments

@JackyL90
Copy link

JackyL90 commented Jun 7, 2021

reason: *** -[AVCaptureSession addInput:] Can't add <AVCaptureDeviceInput: 0x281c50a00 [后置镜头]> because the device does not support AVCaptureSessionPreset3840x2160 - Use -[AVCaptureDevice supportsAVCaptureSessionPreset:]

@vlay1314
Copy link

vlay1314 commented Jun 8, 2021

iphone6已运行就奔溃,这个问题一直没有修复吗?

@854907646
Copy link

我也碰到了,iPhone6一直运行奔溃

@JIAiOS
Copy link

JIAiOS commented Jun 18, 2021

这个问题可能是不支持这么高的分辨率,在SGQRCodeManager.m找到_canSetSessionPreset这个方法,注释掉【if ([self.session canSetSessionPreset:AVCaptureSessionPreset3840x2160])】这个方法,其他的保留。就解决了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants