[iPhone Dev] Camera Capture Focus Mode Change
- Insert to Touch Event
NSError *error = nil;
// Device config : Auto
[self._captureDevice lockForConfiguration:&error];
if ([self._captureDevice isFocusModeSupported:YES]) {
[self._captureDevice setFocusMode:AVCaptureFocusModeAutoFocus];
}
[self._captureDevice unlockForConfiguration];
댓글
댓글 쓰기