Fix iOS orientation logic typo (#573)

- This typo results in all roughly face-up still pictures being interpreted as portrait shots.
This commit is contained in:
egpast 2017-01-28 04:49:11 -05:00 committed by Zack Story
parent 5ed6b81493
commit edcd2435de
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
if(acceleration.x <= -0.75) {
return UIInterfaceOrientationLandscapeRight;
}
if(acceleration.y >= -0.75) {
if(acceleration.y <= -0.75) {
return UIInterfaceOrientationPortrait;
}
if(acceleration.y >= 0.75) {