Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use built in iOS camera without using UIImagePickerController

I want to create my own picture taking UI in my app. Is this possible? I've seen lots of apps use this feature (other camera apps) who have a custom UI and after you take a picture it doesn't ask if you want to retake the photo. Also it would be nice if it didn't flip the photos taken with the front camera. So how would I do this??

Thanks

like image 264
Jason Silberman Avatar asked Apr 08 '13 15:04

Jason Silberman


Video Answer


1 Answers

You should use AVFoundation

try this code GLCamerRipple

and this as well SquareCam

basically you need to create a class that implements the AVCaptureVideoDataOutputSampleBufferDelegate Protocol and start the session with the camera.

like image 143
Janub Avatar answered Sep 19 '22 15:09

Janub