简体   繁体   中英

Using xcode to access rear camera, iphone iOS5

I'm sorry if this is already answered...

All I need is how to fire up the rear facing camera and display it in an image view...no taking pictures, no accessing the photo library, just turning on the camera...simple.

I believe AVCapture is the thing to use, but anything I look into goes way deep than I need and I'm just not that smart. Any help is appreciated.

THANKS!

The AVCam sample from Apple is the best place to start. Be warned that the seemingly simple task of displaying a live video preview from the camera is non-trivial.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM