Kenny Wyland
Kenny Wyland

Reputation: 21880

UIImagePickerController is landscape while taking photo, but portrait during preview

.. and I don't like that because my entire app is Landscape-Only.

How can I get the UIImagePickerController to show the preview in Landscape orientation?

Here's an example of what I mean. When I begin taking the photo it looks like this:

enter image description here

But after I snap the photo and the UIImagePickerController shows me the preview with Use/Retake buttons, it looks like this:

enter image description here

How can I tell the UIImagePickerController to stay in landscape the entire time, showing the preview in a landscape position?

Upvotes: 1

Views: 539

Answers (1)

Steve
Steve

Reputation: 988

I'm guessing you've read the documentation that says UIImagePickerController class supports portrait mode only:

http://developer.apple.com/library/ios/ipad/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html

...and that you're looking for an alternative/workaround?

Upvotes: 2

Related Questions