I have the following problem: when I use the UIImagePickerController, AFTER I capture the picture and the shutter appears and disappears, there is a screen, with the captured picture, and two buttons: “Retake” and “Use”. Even if I take the picture in landscapeLeft, or landscapeRight, on the above mentioned screen the taken picture appears in portrait, no matter what.
Now, my question is the following: how can I make the picked image appear in it’s original orientation?
Thanks
When you pick a photo and UIImagePickerController called
imagePickerController: didFinishPickingImage: editingInfo:method on it’s delegate than you could inspect uiimage which it returns. And it should have orientation property. If it’s not zero than normalize it. I addedimageWithFixedOrientationmethod to UIImage over a category. See it’s code below: