Getting Orientation Enforced on Phone

Monte Goulding monte at appisle.net
Fri Apr 13 20:54:11 EDT 2018



> On 14 Apr 2018, at 10:45 am, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> To fix this right we need:
> 1) mobileSetAllowedOrientations should be just that. This should be a end
> user rotation permissions.

I have had a brief look at this worked out what needs to be done. Hopefully we can do this next sprint for 9.0.1.

> 2) Add new==> mobileSetOrientation (pOrientation,
> pRespectDeviceOrientationLock {true|false})

I guess rather than this we could fix #1 and ensure that all platforms respect the system orientation lock unless it is not in the allowed orientations given if you are forcing an orientation you would need to fiddle with allowed orientations anyway.

Cheers

Monte


More information about the use-livecode mailing list