Closed Intuiso closed 4 years ago
Dear all,
I now also tested it on the iPhone X.
It again is zoomed in by default. However, allowPinchToZoom = true
works here. But I still cannot zoom out that it shows the full image that the camera app shows.
Best regards, Intuiso
I dug a little bit into the topic. As far as I understood it, the problem is caused by the preferences being set such that videos might be recorded:
func preferredPresets() -> [String] {
return [
AVCaptureSession.Preset.high.rawValue,
AVCaptureSession.Preset.high.rawValue,
AVCaptureSession.Preset.low.rawValue
]
}
When replacing the settings to only capture photos, the problem disappears:
func preferredPresets() -> [String] {
return [
AVCaptureSession.Preset.photo.rawValue
]
}
So, if there is no reason for the former settings that I don't understand, I will recommend using the photos setting in general.
Best regards, Intuiso
Hey everyone,
I love this framework. It is really neat and saves a lot of work.
However, the camera is zoomed by default. For testing if it is possible to zoom out to get the whole image (of the camera) I tried to enable pinch to zoom. But when I set allowPinchToZoom = true nothing happens (which is basically a different issue).
I hope you can help me here. I only tested it on a iPad 3rd gen. So I cannot tell if this is device specific thing or happens on all iOS devices.
Maybe, there is a way to programmatically set the zoom factor? Then, I could try setting it 1.0 and see if it solves the issue.
Best regards, Intuiso