Skip to main content
October 2, 2012
Question

Support different orientations for different devices

  • October 2, 2012
  • 1 reply
  • 529 views

I'm working on an app that will run on a tablet and a phone. For tablet I want to support both landscape orientations, but for the phone I only want to support portrait. Is there a way to define this in the app descriptor file, os do I need to handle it all in code?

This topic has been closed for replies.

1 reply

Adobe Employee
October 2, 2012

App descriptor does not allow you to specify different launch orientation as per the device. You can set the launch orientation or aspect ratio once in aspect descriptor and then check for the device info at runtime and change the aspect ratio accordingly at launch.

Anyways which mobile os are you targeting? Android, iOS or both?

October 2, 2012

Android for now, but potentially both down the road.