iPhone不支持ExposureMode AVCaptureExposureModeAutoExpose

Guy*_*uys 5 iphone camera avfoundation

我正在尝试操纵触摸事件并手动调整焦距和曝光以适合用户按下的CGPoint.我正在使用设备对象并使用setFocusPointOfInterestsetExposurePointOfInterest来进行操作.似乎焦点工作得很好但是当我尝试将曝光模式设置为AVCaptureExposureModeAutoExpose时,它崩溃的原因是:" 此设备不支持设置exposureMode(%d)."

一开始我觉得这是因为我使用的是iPhone 3GS,但它也在iPhone 4上发生......

谁知道什么是错的?

谢了,兄弟们.

小智 0

此功能在 iOS 4.0 及更高版本中可用。