Pythonista-Issues
Pythonista-Issues copied to clipboard
Screen orientation not enforced by run()
Setting the following in the run method does not result in a locked orientation (example pulled from one of the games included with Pythonista):
run(Game(), PORTRAIT, show_fps=False)
Pythonista 3.3 executing with python 3.6 on iPad OS 13.4.1
As of iOS/iPadOS 12, apps that support multitasking (SlideOver, etc.) are not allowed to lock the screen orientation. Since Pythonista is the app as far as the OS concerned, it can’t lock the screen without disallowing any usability in the multitasking modes.
Thank you, execution of a script is tied to pythonista configuration at some level, sigh. Thanks again for the answer!