View Full Version : iPhone sdk direct access to camera

Mar 29, 2008, 09:10 AM

Does anyone know if you can access the iPhone camera directly (not via the provided picker in the UIKit) to allow you to embed it in an application?

Thanks for you time,


May 8, 2008, 01:26 AM
Ever figure out if the SDK allows you to access the camera?

Jun 12, 2008, 04:01 PM
Has anyone been able to access the iPhone camera to tap into the video? (no, I'm not looking for the picker to get a single frame capture)...

Jul 11, 2008, 05:41 AM

I have NO IDEA how Phanfare was able to access the camera directly through the SDK. Does anybody here know how they did it? I think it would help us out a lot.


Jul 12, 2008, 04:04 PM
I'd love to know too. Please post here if anybody finds out.

Jul 12, 2008, 11:10 PM
This might disqualify you for the appstore, but here is how it's done:


Basically you create your own header files to access the "private api" class.

good luck.

Please post back if you figure out how to do it.


Jul 13, 2008, 04:36 AM
Looks like CameraController in the PhotoLibrary framework is what would be needed.
See for example here (http://code.google.com/p/iflickr/source/browse/trunk/bkp/PhotoLibrary.h?r=10).

Hopefully it will find its way into the next version of the iPhone SDK.

Jan 23, 2010, 06:52 PM
i dont know if this is what you mean but i was able to get the same video ability as on the normal unjailbroken 3gs on my 3g by copying the photolibrary.framework file folder from a 3gs and paste it on my 3g at /var/system/library/privateframeworks. im sure you can figure something out by knowing this