Reputation: 139
I am tring to control the ISO and the shutter speed for the iphone, but it has no API in AVFoundation. It can only change the exposure, wb for iphone.
How can i control the ISO or shutter speed?
Upvotes: 5
Views: 14757
Reputation: 325
Now after iOS 8 I guess, Now you can change the shutter speed and ISO too.
By using this function
- (void)setExposureModeCustomWithDuration:(CMTime)duration ISO:(float)ISO completionHandler:(void (^)(CMTime syncTime))handler NS_AVAILABLE_IOS(8_0);
of AVCapturedevice class you can set shutter speed and ISO value both for more help you can see the class here.
refer this app for implementation here
Upvotes: 7
Reputation: 811
You unfortunately have very little control over the iPhone camera. You can only lock or unlock the exposure, white balance, and focus modes.
Camera+ actually does not have control over anything you described. It used to be able to as it hacked the hardware, which is naturally a great way to get your app rejected by the reviewers.
I hope that iOS6 will give developers greater control as it is a PITA.
Upvotes: 2