I\'m working with AVCaptureSession
for capturing the image. Its working fine
but not giving a good resolution. I compared it with the image captured by iPhone Came
We had the same issue using that code reference. The photos were especially bad using the iPad front facing camera.
We fixed it by adding a 1 second delay between setting up the capture manager and calling the capture image method. It made a big enough difference to us that we were happy with the result. It appears that the camera needed some time to open the shutter and perform the auto-focus / white-balancing default options.
[NSTimer scheduledTimerWithTimeInterval:1.0
target:self.captureManager
selector:@selector(captureStillImage)
userInfo:nil repeats:NO];