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?