iOS forcing interface rotation

Scott Morrow scott at elementarysoftware.com
Sat Nov 12 18:19:19 EST 2011


Hello Hugh,

I don't believe LC provides a way to do this.  At one point I created an animation that took over the screen and prompted the user to rotate the device.  That was the best I could come up with.

-Scott Morrow

On Nov 10, 2011, at 7:46 AM, FlexibleLearning wrote:

> Did anyone figure how to do this? I need exactly the same thing: All stack
> windows are landscape, except 1 which must be portrait.
> 
> How do we force an orientation change without requiring the user to
> physically rotate the device?
> 
> Hugh Senior
> FLCo
> 
> 
> 
> On Tue Aug 2 09:23:51 CDT 2011 Scott Morrow wrote:
> 
> I am working with an iOS UI that allows portrait and landscape rotation on
> one card but requires that the UI be presented in portrait on all other
> cards. no matter what the actual device rotation is.  The problem arises
> when leaving the card that allows landscape and going to a card that
> requires portrait.  If the user navigates to a "portrait only" card with
> device already in landscape, the UI is skewed.  Is there a way to force the
> auto-rotation without requiring the user to physically rotate the device?
> (I had hoped perhaps some trickery with mobileSetAllowedOrientations and
> mobileLockOrientation /mobileUnlockOrientation.)
> 
> TIA,
> 
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web       http://elementarysoftware.com/
> email     scott at elementarysoftware.com
> ------------------------------------------------------
> 
> 
> 
> _______________________________________________
> 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