I use AVFoundation
to capture a still image, it will takes about 0.8 seconds. I think it's really slowly. But when I use the system's penter code hererimary camera, it's much more faster.
This is the function I used : it's really slowly, maybe there is something I don't know, can anyone help me?
- (void)captureStillImageAsynchronouslyFromConnection:(AVCaptureConnection *)connection completionHandler:(void (^)(CMSampleBufferRef imageDataSampleBuffer, NSError *error))handler;