Reputation: 8623
I was wondering if it was possible to make the camera feed appear in a custom screen. Basically I have a uiview that I want the camera feed to appear in. I would then have custom buttons on the screen and stuff like that to take pictures and then email out the pictures.
Is there an easy way to do this, that will not get rejected upon app review? I have read before about using UIImagePicker and using cameraOverlayView, but I could not get that to work.
Sample code is greatly appreciated. Thanks in advance for your help!
Upvotes: 0
Views: 1146
Reputation: 118781
Yes, you can use AVCaptureVideoPreviewLayer from the AVFoundation framework.
Upvotes: 2