Reputation: 572
I have iPad application and i use it to take pictures. I use UIImagePicker and everything worked out fine until iOS8.
on iOS8 - the camera view of the picker opens up fine (no matter what orientation i am on), but when i rotate the device, the camera view remains on the original orientation (only scaled). moreover - if i turn the device up-side-down than i the camera is up-side-down too.
Any ideas? at start i thought it is a beta issue, but now i see it happens on the GM Release too. I saw it on applications like Google Drive also.
very strange..
EDIT: happens on iOS 8.0.2 too
Upvotes: 1
Views: 1690
Reputation: 572
Answered it on different thread:
in a couple of words:
It's an apple bug
there is a patch to fix it for now
EDIT: fixed in iOS 8.1.1
Upvotes: 2
Reputation: 41
Using Xamaring iOS, you must override the UIImagePickerController to return false on the should autorotate function. I assume that there is an objective c equivalent.
public class UIImagePickerWithoutRotation : UIImagePickerController
{
public override bool ShouldAutorotate()
{
return false;
}
}
Upvotes: 0