AVFoundation camera tutorial

Fogmeister picture Fogmeister · Sep 4, 2010 · Viewed 10.1k times · Source

Is there a basic tutorial for the AVFoundation for use with the camera anywhere?

UIImagePicker isn't the right tool for my app and it looks like this is but I'm not sure how to get it going.

I can kind of see how to take a picture using AVCaptureStillImageOutput but I can't see how to display the camera view onto the screen.

Any help is much appreciated.

Thanks

Oliver

Answer

Codo picture Codo · Sep 4, 2010

If you're a registered Apple developer, session 409 (in the Graphics and Media section) of this year's WWDC is a very good tutorial: http://developer.apple.com/videos/wwdc/2010/

here are more direct links ...

session 409:

http://adcdownload.apple.com//videos/wwdc_2010__sd/session_409__using_the_camera_with_av_foundation.mov

also, session 405 intro:

http://adcdownload.apple.com//videos/wwdc_2010__sd/session_405__discovering_av_foundation.mov