草庐IT

AVCaptureExposureModeAutoExpose

全部标签

ios - iPhone 5 : AVCaptureExposureModeAutoFocus not supported in iOS 7

我正在尝试使用AVFoundation实现相机应用程序。我想使用AVCaptureExposureModeAutoFocus在某个点设置exposurePointOfInterest,然后按照Apple文档的说明锁定曝光:AVCaptureExposureModeAutoExpose:thedeviceautomaticallyadjuststheexposureonceandthenchangestheexposuremodetoAVCaptureExposureModeLocked.这是我使用的函数:-(void)autoExposeAtPoint:(CGPoint)point{A

ios - AVFoundation:isExposureModeSupported 为 AVCaptureExposureModeAutoExpose 返回 FALSE

我正在使用AVFoundation构建自定义相机。除了setExposurePointOfInterest之外,一切都很好。我正在iPhone5上进行测试,AVCaptureDevice告诉我BackCamera不支持AVCaptureExposureModeAutoExpose。然后如何实现点击调整曝光?这是我的代码:-(void)didTapCameraPreview:(UITapGestureRecognizer*)recognizer{CGPointpoint=[recognizerlocationInView:self.view];CGRectscreenRect=[self