How to capture picture with AVCaptureSession in Swift?

前端 未结 2 2012
旧巷少年郎
旧巷少年郎 2020-12-04 11:28

I have a UIViewController in which I use AVCaptureSession to show the camera and it is working just fine and fast. I placed a UIButton

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 11:58

    As AVCaptureStillImageOutput is deprecated, I created another Swift example of using AVCaptureSession and AVCapturePhotoOutput in iOS 10. Check this out.

提交回复
热议问题