AS3/AIR: If phone use portrait, if tablet use landscape?

后端 未结 3 497
南方客
南方客 2021-01-15 23:02

Ok, I\'ve written myself a simple DeviceCapabilites class to be able to check if the device is a phone or tablet etc.

But I need to be able to say that if the user i

3条回答
  •  借酒劲吻你
    2021-01-15 23:18

    I dont have an answer but I'd like to save someone else some time. When testing on an ipad, the above code posted by Josh will always result in "defaultPositionIsLandscape" to be false :(

提交回复
热议问题