Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
In previous versions of Xamarin.Forms, you could set Upside Down as a supported orientation in Info.plist, and the screen would correctly rotate. In the latest version, this is no longer the case. I believe it's a result of this pull request: https://github.com/xamarin/Xamarin.Forms/pull/147
To fix this, I had to implement a custom renderer and override GetSupportedInterfaceOrientations. This behaviour should be supported without the use of a custom render as it was in previous versions of Xamarin.Forms.
To reproduce this issue, you just need to create a new Xamarin.Forms solution, and add UIInterfaceOrientationPortraitUpsideDown to the supported orientations in Info.plist of the iOS project. On version 188.8.131.52, the screen will not rotate when upside down.
Closing as invalid as I didn't realize that implementation of SupportedInterfaceOrientations was also required in native Obj-C and Swift.