Getting Orientation Enforced on Phone

Sannyasin Brahmanathaswami brahma at hindu.org
Tue Apr 10 22:40:01 EDT 2018


# using this method to change stack

go  cardOrStackObject  # e.g   go "gems" (or this string)  go card 3 of "gems"
 wait 100 milliseconds with messages
 close stack oStackName
 wait 100 milliseconds with messages

# don't try to go in same window method

( we used "set the fullscreenmode of this stack to "showAll"  in all stacks)

Now, we can get orientation "enforced" on iOS going one way -- portrait to landscape --

but not coming back for  -- landscape to portrait --

Users sees the bottom on the portrait, until right they phone upright)

Android is worse, the landscape stack is rendering horizontally on a portrait screen until they rotate the phone.
and vice versa

I really need to phone to "enforce" , regardless of phone is held.

You can't have a game/map (landscape) open "miniaturized" by portrait

      mobileSetAllowedOrientations  "landscape left,landscape right"
OR
      mobileSetAllowedOrientations  "landscape left,landscape right"

the dictionary says

"the setting take affect the next time an orientation change is applied"

But it is enforced to iOS going for portrait to landscape. Why not to other way?
And either way on Android

Has anyone solved this problem.
BR



More information about the use-livecode mailing list