James Skidmore
James Skidmore

Reputation: 50298

How do I access the iPhone camera API without the camera interface?

How can I take a picture in my iPhone app without going through the camera interface?

I've read things about CameraController. Is that what I should look into, or is there an easier way to just snap a picture with code?

Upvotes: 2

Views: 4295

Answers (1)

Daniel
Daniel

Reputation: 22395

You cant access the camera without the iphone API, however what they have allowed is for you to provide your custom view to be used on top of the camera interface, what you have to do is set the cameraOverlayView property of a UIImagePIckerController, here is the reference, as the solution posted in the comment points out, you might be able to access the camera, but through private frameworks which could hurt your chances of approval to the appstore

Upvotes: 4

Related Questions