You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
I'm developing an app for iPad that only support landscape mode. If I use the mediaPickerController and try to present it, the app returns an error like this mode is not supported by the controller and "shouldAutorotate is returning YES".
To support this mode, you could add the following code to MediaPickerController:
public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations () {
return _orientation;
}
And maybe permit to pass the desired orientation mask in GetTakePhotoUI or GetPickPhotoUI.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm developing an app for iPad that only support landscape mode. If I use the mediaPickerController and try to present it, the app returns an error like this mode is not supported by the controller and "shouldAutorotate is returning YES".
To support this mode, you could add the following code to MediaPickerController:
public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations () {
return _orientation;
}
And maybe permit to pass the desired orientation mask in GetTakePhotoUI or GetPickPhotoUI.
The text was updated successfully, but these errors were encountered: