如何在我的应用程序中访问摄像头
问题描述:
嗨,我是iphone新手。我想开发一个应用程序,我们可以从iPhone摄像头捕捉图像。如何在我的应用程序中访问摄像头
如何做到这一点我不明白。 Plz帮助我如何做到这一点与源代码和链接我们可以读这个。
答
退房UIImagePickerController类:
有两个教程在这里:
http://icodeblog.com/2009/07/28/getting-images-from-the-iphone-photo-library-or-camera-using-uiimagepickercontroller/ http://iphone.zcentric.com/2008/08/28/using-a-uiimagepickercontroller/
另一个线程SO这里:
https://stackoverflow.com/questions/1282830/uiimagepickercontroller-uiimage-memory-and-more
感谢您的帮助 – 2010-04-22 12:19:46