Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinch to zoom doesn't appear to be working :/ #53

Open
aerose2012 opened this issue Apr 3, 2016 · 7 comments
Open

Pinch to zoom doesn't appear to be working :/ #53

aerose2012 opened this issue Apr 3, 2016 · 7 comments

Comments

@aerose2012
Copy link

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

@aerose2012
Copy link
Author

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?

@robski05
Copy link

I have the same issue - only after flipping it works

@aerose2012
Copy link
Author

@lauraskelton any ideas on what might be causing this?

@anfriis
Copy link

anfriis commented Jul 1, 2016

Have the same issue too

@manuelescrig
Copy link

+1 After I minimized the app and open it again starts working.

@anfriis
Copy link

anfriis commented Oct 5, 2016

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 :)

@ajithrnayak
Copy link

    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()
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants