View Full Version : iPhone sdk direct access to camera
RossOliver
Mar 29, 2008, 10:10 AM
Hey,
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,
-Ross
cybohemia
May 8, 2008, 02:26 AM
Ever figure out if the SDK allows you to access the camera?
zeidolon
Jun 12, 2008, 05: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)...
eventhough
Jul 11, 2008, 06:41 AM
Hello,
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.
Thanks.
hkk
Jul 12, 2008, 05:04 PM
I'd love to know too. Please post here if anybody finds out.
eventhough
Jul 13, 2008, 12:10 AM
This might disqualify you for the appstore, but here is how it's done:
http://www.onlamp.com/pub/a/onlamp/2008/03/25/the-apple-sdk-apis-apple-didnt-want-you-to-know-about.html
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.
thanks
hkk
Jul 13, 2008, 05: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.
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.