您的位置:首页 > 移动开发 > IOS开发

AVCaptureDevice 曝光模式

2016-06-12 09:12 441 查看


Exposure Modes

AVCaptureExposureModeContinuousAutoExposure 
---自动调节曝光

AVCaptureExposureModeLocked 
--使用当前曝光

下面是设置为持续自动曝光的例子:

if ([currentDevice isExposureModeSupported:AVCaptureExposureModeContinuousAutoExposure]) {
CGPoint exposurePoint = CGPointMake(0.5f, 0.5f); // 曝光点为中心
[currentDevice setExposurePointOfInterest:exposurePoint];
[currentDevice setExposureMode:AVCaptureExposureModeContinuousAutoExposure];
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ios 视频 曝光度调节