Why two XIBs? With autoresizingmasks you should be able to setup everything
regardless of the current width and height. There even is a button in IB
that allows you to rotate the view to and from landscape to check if
everything is aligned correctly.
If autoresizing doesn't satisfy you 100%, you can simply override
LayouSubviews() and manually adjust the locations of specific UI elements
depending on the current device orientation.

René

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von MojoDK
Gesendet: Freitag, 13. April 2012 11:16
An: [email protected]
Betreff: [MonoTouch] Designing landscape and portrait

Hi,

I use XCode (Interface builder) to set up my screens.

Then I thought it might be possible to copy the xib file, rename it to
myform_landscape.xib and change all controls to landscape.

My question is - how can I (on the fly) load a xib file? 

I have no problems getting a notification of device rotation, I just need to
figure out how to load the xib file when device is rotated.

Any idea?

Thanks
Mojo

--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Designing-landscape-and-portrait-tp45
54226p4554226.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

Reply via email to