View Full Version : how to get access to camera?
siliconKai
Sep 9, 2008, 07:49 AM
Hey guys,
i am looking for some information on "How to get access to the camera of the iPhone". Does anyone know some good links?
i haven't found any information on this topic yet :-(
i would like to stream a video with the camera. i know that this might be very hard.
thanks for your help
robbieduncan
Sep 9, 2008, 08:20 AM
You cannot get access to the camera at all using the SDK. You can only bring up the Apple defined take a picture UI.
Ron C
Sep 9, 2008, 01:01 PM
Hey guys,
i am looking for some information on "How to get access to the camera of the iPhone". Does anyone know some good links?
i haven't found any information on this topic yet :-(
i would like to stream a video with the camera. i know that this might be very hard.
thanks for your help
You cannot get access to the camera at all using the SDK. You can only bring up the Apple defined take a picture UI.
This is through the UIImagePickerController - you can choose among 3 kinds of images:
an image in the Photo library
an image from the recently taken pictures
a new image taken by the camera
In all of these cases, the controller manages the selection process. You then get the image to use, but you can't get to the camera except through this method (... and still get it accepted by Apple for sale. There seem to be private APIs you could potentially use but I wouldn't expect Apple to approve of your use of these and allow the app into the store.)
Ron C
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.