[Interest] Qt 5.4.x Android and IOS screen orientation lock in code
Hamish Moffatt
hamish at risingsoftware.com
Fri May 15 02:25:37 CEST 2015
On 15/05/15 08:59, mark diener wrote:
>
> Now, what will NOT work is setting values and Manifest.xml or Info.plist to universally prevent orientation changes on all IOS/ANDROID devices.
>
> I am only looking to lock to portrait on specific types of devices, not all IOS/ANDROID devices.
>
>
No idea about Android, but why not on iOS? You can split between iPad
and iPhone using the UISupportedInterfaceOrientations and
UISupportedInterfaceOrientations~ipad keys respectively.
Hamish
More information about the Interest
mailing list