I say this, because build.settings is the file you specify orientation rules in.
I’m pretty sure this file is only used in the build (as the name would imply), BUT if it is actually examined at run time, then you might be able to do this IF you can also detect the device you’re on.
Again, I think the answer is, “No.” and I hope to hear more from others on this topic.
I agree with @roaminggamer - I think the config.lua is the only file which can contain actual code whereas the build.settings file defines the orientation settings.
What you would have to do is fix the orientation, detect the device the app is running on and perform the rotation and size/layout operations yourself. The hard bit is what you’ll be doing anyway, so rotating your main display group when it’s an iPad isn’t really such a tall order.
I’m not sure I’ve heard of anyone successfully building a portrait phone and landscape tablet app at the same time that didn’t detect the device and rotate the canvas manually.
I say this, because build.settings is the file you specify orientation rules in.
I’m pretty sure this file is only used in the build (as the name would imply), BUT if it is actually examined at run time, then you might be able to do this IF you can also detect the device you’re on.
Again, I think the answer is, “No.” and I hope to hear more from others on this topic.
I agree with @roaminggamer - I think the config.lua is the only file which can contain actual code whereas the build.settings file defines the orientation settings.
What you would have to do is fix the orientation, detect the device the app is running on and perform the rotation and size/layout operations yourself. The hard bit is what you’ll be doing anyway, so rotating your main display group when it’s an iPad isn’t really such a tall order.
I’m not sure I’ve heard of anyone successfully building a portrait phone and landscape tablet app at the same time that didn’t detect the device and rotate the canvas manually.