orientation in iOS 8.1 simulator

Sean Cole (Pi) sean at pidigital.co.uk
Sun Oct 26 19:24:00 EDT 2014


Found it :D You have to set orientations at inception.

   mobileSetAllowedOrientations "portrait,portrait upside down,landscape
left,landscape right"

Then it works perfectly, even the resize without waiting.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
π
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

This email and any files transmitted with it may be confidential and are
intended solely for the use of the individual to whom it is addressed. You
are hereby notified that if you are not the intended recipient of this
email, you must neither take any action based upon its contents, nor copy
or show it to anyone. Any distribution, reproduction, modification or
publication of this communication is strictly prohibited. If you have
received this in error, please notify the sender and delete the message
from your computer.



Any opinions presented in this email are solely those of the author and do
not necessarily represent those of Pi Digital. Pi Digital cannot accept any
responsibility for the accuracy or completeness of this message and
although this email and any attachments are believed to be free from
viruses, it is the sole responsibility of the recipients.


Pi Digital Productions Ltd is a UK registered limited company, no. 5255609.
VAT GB998220972

On 26 October 2014 17:23, Klaus major-k <klaus at major-k.de> wrote:

> Hi Sean,
>
> > Am 26.10.2014 um 18:10 schrieb Klaus major-k <klaus at major-k.de>:
> >
> > Hi Sean,
> >
> >> Am 26.10.2014 um 17:45 schrieb Sean Cole (Pi) <sean at pidigital.co.uk>:
> >>
> >> Hi Klaus,
> >>
> >> I was getting this too (from some time ago). There is a delay in the
> >> message between 'orientationChanged' to updating the
> >> 'mobileDeviceOrientation' value. So, what I do is:
> >>
> >> on orientationChanged
> >>       send "checkOrientation" to me in 20 millisec
> >> end orientationChanged
> >>
> >> on checkOrientation
> >>       set the rect of fld "Testfield" to the rect of this cd
> >>       put CR & CR & mobileDeviceOrientation() into fld "Testfeld"
> >> end checkOrientation
>
> no joy in iPhone sim :-/
> It starts correctly in portrait and stays there, no matter how I rotate
> the device!?
> But works fine on iPad sim however.
>
> Any setting in Livecode I may have overlooked?
> I checked all options for iPad orientations in the standalone settings,
> but there is none for iPhone?
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> 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