2

I used rampToVideoZoomFactor to zoom-out/zoom-in back camera, but now it's not working on iPhone 7+.

I'm getting the AVCaptureDevice with this code:

let doubleCamDevice = AVCaptureDeviceDiscoverySession.init(deviceTypes: [AVCaptureDeviceTypeBuiltInDuoCamera], mediaType: nil, position: AVCaptureDevicePosition.Back).devices.first

What is the problem with that?

Erik Godard
  • 5,930
  • 6
  • 30
  • 33

0 Answers0