Getting Orientation Enforced on Phone

Brian Milby brian at milby7.com
Fri Apr 13 21:58:14 EDT 2018


In my MobileProfile demo app it seems to respect the lock properly on
iPhone (can only user lock to portrait). Sounds like something that would
be good to do additional testing on. Is there any way to test pre-release
engine changes on iOS?
On Fri, Apr 13, 2018 at 8:54 PM Monte Goulding via use-livecode <
use-livecode at lists.runrev.com> wrote:

>
>
> > 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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list