Take Photos Automatically - iPhone

前端 未结 2 669
被撕碎了的回忆
被撕碎了的回忆 2021-01-07 07:47

I\'m trying to perform the task of taking a picture, but triggered by code instead of relying on the touching of the camera button in UIImagePickerController. Can this be do

相关标签:
2条回答
  • 2021-01-07 07:53

    You should look into the AVFoundation framework -- that makes it pretty easy to do.

    0 讨论(0)
  • 2021-01-07 08:15

    As answered here, check out Apple's AVCam sample. It shows how to get both still images and video from the camera.

    0 讨论(0)
提交回复
热议问题