Orientation for device type

Hi Guys,

is it possible to change orientation related to device type?

For example if device is iPhone then I would like to make the orientation should be portrait.

However,  if it is iPad then orientation should be landscape

is it possible?

Thanks in advance

Hi Guys,

Isn’t there any way to solve my problem?

I made two difference design and if the device is iPhone I would like to orientation should be only portrait for Iphone and it should be only landscape for iPad
Is it possible?

I know this has been a topic that many users have asked about, and I don’t know if a solution was ever made.  The problem is that build.settings determines the app orientation at compile time, not when the app is launched.  Perhaps if you hide the status bar you could just load the appropriate scene from your main.lua?

There is not a simple solution to this. As Jon said you can only do what build.settings allows and there is no way to do a per-device or per-device type setting for that.

For people that have done this, they simply lock the orientation one way and for one screen type rotate all the display items 90 degrees. It’s a lot of work, but its the best option.

Rob

o

Hi Guys,

Isn’t there any way to solve my problem?

I made two difference design and if the device is iPhone I would like to orientation should be only portrait for Iphone and it should be only landscape for iPad
Is it possible?

I know this has been a topic that many users have asked about, and I don’t know if a solution was ever made.  The problem is that build.settings determines the app orientation at compile time, not when the app is launched.  Perhaps if you hide the status bar you could just load the appropriate scene from your main.lua?

There is not a simple solution to this. As Jon said you can only do what build.settings allows and there is no way to do a per-device or per-device type setting for that.

For people that have done this, they simply lock the orientation one way and for one screen type rotate all the display items 90 degrees. It’s a lot of work, but its the best option.

Rob

o