Starting with iOS5 you can have the master view visible in portrait too. Prior to iOS5 you will get a UIBarButtonItem and a UIPopoverController you can present from that item if rotating the device to portrait. The popover will then contain the master controller. Disadvantage: it covers your view partially. If you cannot use iOS5, you might want to have a look at MGSplitViewController and its Monotouch port MTSPlitViewController (https://github.com/Krumelur/MTSplitViewController). For a demo, see here: http://www.youtube.com/watch?v=wezC7vRX9Js
René -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von BradThor Gesendet: Donnerstag, 3. November 2011 22:02 An: [email protected] Betreff: [MonoTouch] UISplitViewController... We are about to start working on a port of a Silverlight app which uses Bing maps to the iPad using MKMapView... Since Im very new to this, I researched the past few days iPad mapping apps (Gowalla, NatGeo map, travel advisor apps, etc). I noticed that almost all of them (I venture to say 100% of them) are used in a landscape orientation. Im assuming this is because the developers are using the UISplitViewController (which doesn't appear in Portrait). My problem lies in that our BA has added to the reqs that the app be useable in both Portrait and Landscape orientations (for whatever reason). Ive managed to lay out some UI in Interface Builder, but I am not using any of the Controller objects. (for example, my left nav is a view that resizes on orientation, as well as a view that contains the MKMapView control). In my Left nav, I want to put a TabBar, but because Im using a view for this section, I can't seem to place a TabBarController. Am I way off here? In Silverlight, Id create grids that i hide/show with the corresponding buttons... would the the possible here. In other words, if i have 3 tab buttons (Search, History, and Favorites), can I create 3 corresponding views with tables in them and just hide/show them based on which button is pressed? Thanks in advance... -- View this message in context: http://monotouch.2284126.n4.nabble.com/UISplitViewController-tp3988004p39880 04.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
