creating custom camera with square view on iOS

前端 未结 2 1460
情歌与酒
情歌与酒 2020-12-16 20:02

I am trying to create a custom camera experience on iOS and the following code snippet is as far as I got. Basically I want the usual camera view (i.e. with the following bu

2条回答
  •  遥遥无期
    2020-12-16 20:13

    Working with a custom camera can be a bit of a pain, but it’ll pay dividends given that you’ll really be able to customize your app experience.

    The easiest way to do it is to use TGCameraViewController.

    Using this TGCameraViewController, you can edit whole camera view. Also, It provides following functionalities:-

    • Easy way to access album (camera roll)
    • Flash auto, off and on
    • Focus
    • Front and back camera

    Also you can refer AVCamManual: Extending AVCam to Use Manual Capture document for creating own custom camera.

提交回复
热议问题