-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App crashes when I lock orientation to PortraitFlipped #14
Comments
Hi @Stensan Which version of Xamarin.Forms do you use? |
Hi @wcoder |
Ok, I will try to investigate the issue. Workaround: |
Would you please provide me an example of plugin using, when the application crashed (for quickly reproduce)? |
Sure, thanks for helping! |
I installed older Xamarin.Forms versions (2.5.1, 2.5.0 and 2.4.0) but each time I get the same exception. |
Oh, yes, you right. Try version |
So it seems this is indeed a bug in Xamarin.Forms. I'll go and open a bug report there. Thanks again. |
Currently, I have an idea for this issue (workaround):
|
No sorry, this doesn't work. There is no more error now, but page does not rotate to upside down. I think this is really a xamarin bug, because even without plugin the portrait upside down doesn't work as expected when I turn my phone. |
Hi, in my app I need to change to PortraitFlipped at one time. But when I try to do this, the app crashes with this error:
Foundation.MonoTouchException: Objective-C exception thrown. Name: UIApplicationInvalidInterfaceOrientation Reason: Supported orientations has no common orientation with the application, and [Xamarin_Forms_Platform_iOS_PlatformRenderer shouldAutorotate] is returning YES
This is my Info.plist:
In my AppDelegate I have put this:
The other orientations are not causing trouble.
I am working with Xamarin.Forms, the device is an iPhone 8 and the crash occurs both on the real device and simulator.
The text was updated successfully, but these errors were encountered: