IFTTT / FastttCamera

Fasttt and easy camera framework for iOS with customizable filters
http://ifttt.github.io
MIT License
1.86k stars 189 forks source link

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

Open xaphod opened 8 years ago

xaphod commented 8 years ago

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.