switch between portrait and landscape

Nicolás Oyarzún shared this question 5 years ago
Answered

hi! if i want to create an app in which you have to click the icon and the this is design to be used in landscape mode, how can i do that?


thanks!


example: click to con and go to camera mode...

Comments (3)

photo
1

You can define an on page load event that checks the width of the screen and that way know if it's in landscape or portrait. If it's in portrait, you can display a message telling the user to go to landscape mode.

photo
1

there is any way to make something like "on page load rotate 90 degrees the next page"


thanks!

photo
1

But what you really need is a way to say 'on page load, turn the entire device to landscape', don't you? If so, then you don't have other way than simulating your prototype as if it was a web prototype (using Simulation Settings) and draw the iPhone skin on each of your screens.