Method to find device's camera resolution iOS

后端 未结 5 2160
北荒
北荒 2020-12-04 11:20

Whats the best method to find the image resolution going to be captured using setting AVCaptureSessionPresetPhoto.
I am trying to find the resolution before

5条回答
  •  余生分开走
    2020-12-04 12:12

    There's probably no way to directly get the camera resolution programmatically before capturing an image.

    Apple provides a table for various devices and presets:

    Capturing Still Images

提交回复
热议问题