Cant change default orientation depending on device ?

The title says a lot, i am trying to get my app to be in portrait by default if it is opened on a iPhone and i only want portrait mode to be displayed on Iphone. Since there is more space on ipad, i would like it to be in landscape by default and only support landscape. 

is there a way to do it with the build setting ? 

something like : 

settings = {
iphone ={
plist={
orientation= {
default = “portrait”,
content = “portrait”,
supported = {“portrait” }
}
}
}
}

or just change the values contained inside the table from the plist?

settings = {

orientation= {
supported = {“landscapeRight”, “landscapeLeft”,“portrait”, “portraitUpsideDown”}
}
iphone ={
plist={
orientation.default=“portrait”

}
}
}

ty for the time you will take on that question :slight_smile:

You’re best bet it so release two versions of your app, an iPhone one and an iPad one instead of trying to do a universal build.  If your UI is going to be that different, separate apps seems to make sense.

You can still do most of your code in one app, just change the build settings prior to building.

Hi Rob, i was looking for the same request here.

I understand your response and approach… but the downside of it is that the end user will need to buy the app twice to have it on both iphone and ipad.  

So to erase the question on my mind… its not possible to set orientation based on device on an universal app?

No final word on this? it seems weird to me that it can´t be accomplished in corona since its an option on the summary deployment info for each device in xcode.

Thanks in advance.

Brent asked this of the engineer’s earlier today.  Lets give them some time to answer this.  It’s a short week with the holiday’s this week.

You’re best bet it so release two versions of your app, an iPhone one and an iPad one instead of trying to do a universal build.  If your UI is going to be that different, separate apps seems to make sense.

You can still do most of your code in one app, just change the build settings prior to building.

Hi Rob, i was looking for the same request here.

I understand your response and approach… but the downside of it is that the end user will need to buy the app twice to have it on both iphone and ipad.  

So to erase the question on my mind… its not possible to set orientation based on device on an universal app?

No final word on this? it seems weird to me that it can´t be accomplished in corona since its an option on the summary deployment info for each device in xcode.

Thanks in advance.

Brent asked this of the engineer’s earlier today.  Lets give them some time to answer this.  It’s a short week with the holiday’s this week.

Sorry to bother again… just bumping this up to see if some answer is on the horizon. Thanks!

Sorry to bother again… just bumping this up to see if some answer is on the horizon. Thanks!