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

Don't assume portrait orientation if UIDeviceOrientation is FaceUp/FaceDown #63

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

xaphod
Copy link

@xaphod xaphod commented Nov 8, 2016

If the deviceOrientation is faceUp or faceDown, then before this change the code assumes this means portrait orientation. This doesn't work for my iPad app, because often a faceUp iPad is in landscape orientation.
This pull request changes the behavior only for faceUp/Down orientation: the statusBar orientation is used instead. This means that faceUp-Landscape and faceUp-Portrait are both supported.

xaphod and others added 25 commits November 7, 2016 22:48
Update interface to return error if no photo will be taken
This reverts commit 7b7a916.
Add a notification that UI can catch when interruptions occur
- Requesting Cam auth changed: now checked on init, but only notified when you attempt to take an action like takePhoto
- _setupSession is synchronous again
- Image processing moved to high priority queue
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

Successfully merging this pull request may close these issues.

2 participants