How To Use AVCaptureStillImageOutput To Take Picture

前端 未结 4 1647
挽巷
挽巷 2021-02-04 08:35

I have a preview layer that is pulling from the camera and working as it should. I would like to be able to take a picture when I press a button. I have inited the AVCaptureStil

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-04 09:18

    Not sure why I didn't see this sooner:

    iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

    Adams answer works fantastic!

提交回复
热议问题