-
Notifications
You must be signed in to change notification settings - Fork 190
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
Can't Lock Orientation #12
Comments
Thanks for letting me know, Jon! I'll take a look this weekend and work on a fix. |
Muchas gracias. Lemme know if you need more info. |
Just an update that I'm taking a look at this! I designed the orientation lock to apply mainly to portrait mode (which is how we use it at IFTTT)- it's taking a bit of a larger update to handle landscape-only rotation properly. |
Hi @lauraskelton, thanks for the great library. Any updates on this issue? I have the identical scenario/problem as @jonstoked described. |
I love this library, thanks for all the hard work!
I'm having a problem though. I'm unable to lock the camera in Lansdcape. My entire project supports LandscapeLeft/Right only. On my fastttCamera instance, I've set interfaceRotatesWithOrientation = NO.
If I start the camera holding the device in Landscape mode, everything works great. But if I hold the device in portrait mode, and start the camera, the viewport is rotated 90 degrees. I can now rotate the phone in any direction, and the viewport will stay offset 90 degrees.
Here's a dandy image taken, after starting in Landscape mode & staying in landscape mode.
Here's a not so dandy one, taken after starting holding the phone in portrait, and then rotating back to landscape.
Note that these are screenshots, not images saved using the delegate callbacks.
Here's a gist of my CameraViewController.m >> https://gist.github.com/jonstoked/43cb9674183f984c1006.
Any ideas?
Thanks,
Jon
The text was updated successfully, but these errors were encountered: