Error Domain=AVFoundationErrorDomain Code=-11852 "Cannot use Back Camera"
2022. 1. 27. 16:58ㆍiOS/Xcode Error
728x90
반응형
기기의 앨범에 있는 사진을 선택하거나, 사진을 직접 찍고 이 사진을 업로드해보는 프로젝트 작업을 하던 중 마주한 에러.
Change your dealloc Method를 설정하거나
[self.captureSession removeInput:self.videoInput];
[self.captureSession removeOutput:self.videoOutput];
self.captureSession = nil;
self.videoOutput = nil;
self.videoInput = nil;
간단하게 앱 설정을 변경해주면 된다
Please check your device settings. Goto privacy ---> Camera ---> check setting for your app-----> turn it on
728x90
반응형