iOS Question Is there a tutorial for using two Designer files?

Andrew Lindsay

Member
Licensed User
Longtime User
Hello,

I'd like to know if there is a tutorial on how to use two designer layout files for the Portrait and Landscape orientations of an app?

I have created two different layout files called Portrait and Landscape, and tried reloading the layouts in the screen resize event, without any success.

What is the correct way to do this? I have not seen a tutorial or sample code that makes any sense unfortunately.

best regards

Andrew
 

abarnett

Member
Licensed User
Longtime User
Hi Andrew,

Are you detecting the orientation of the device and are you loading the layouts in the application start event
Regards
Andrew
 
Upvote 0

Andrew Lindsay

Member
Licensed User
Longtime User
OK, how do I do that? I'm sorry but I can't seem to find an example of how to do that.

is there a sample app that shows how this is managed?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…