FastttCamera
FastttCamera copied to clipboard
Don't assume portrait orientation if UIDeviceOrientation is FaceUp/FaceDown
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.