FastttCamera
FastttCamera copied to clipboard
Pinch to zoom doesn't appear to be working :/
I just built this awesome library into my project and everything seems to be working great except that zooming does not seem to be working. When I use a pinch gesture nothing happens at all. Tap to focus works and everything but literally nothing occurs when i pinch. I have not messed with any of the setup but I checked to ensure that zooming was enabled and it is. Any thoughts on why this feature isn't working for me? iPhone 5S running iOS 9
Update to this: it appears that zooming doesn't work initially but if i flip the camera it starts working, even if i flip it back. Can anybody help me understand why zooming doesn't work on the initial view?
I have the same issue - only after flipping it works
@lauraskelton any ideas on what might be causing this?
Have the same issue too
+1 After I minimized the app and open it again starts working.
A temporary solution is to just flip the camera twice when starting it... But this issue has been around for some time now - still hoping for a fix :)
func startCamera(){
guard !UIDevice.isSimulator() else {
return
}
//this solved it for me. In my case, there wasn't front cam.
if FastttCamera.isCameraDeviceAvailable(.rear) {
camera.cameraDevice = .rear
}
camera.startRunning()
}