AVFoundation camera tutorial [closed]

2020-02-08 09:52发布

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

1条回答
我想做一个坏孩纸
2楼-- · 2020-02-08 10:27

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

查看更多
登录 后发表回答