Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Orientation in monotouch.dialog

$
0
0

I'm hoping this is a pretty straightforward question. I have a hierarchy created in monotouch.dialog with a RootElement, various sections and various elements within the table layout it provides.

I can control the orientation in the initial startup screen by overriding GetSupportedInterfaceOrientations in the main DialogViewController, but when I tap on a cell and it pushes to the next screen (which monotouch.dialog sort of does "automatically" for you), I can't get it to lock to portrait, and it rotates in all orientations. I want it to be locked to portrait.

Does anyone know how to control orientation after pushing to a new view?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>