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 01:49:11 -08:00
committed by Zack Story
parent 5ed6b81493
commit edcd2435de
+1 -1
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) {