-1

I am trying to lock my iPad screen orientation/stop the screen rotating. My code requires the screen/UI to be horizontal.

The only possible answer that I have found is:

v.present(style="full_screen", orientations=["portrait"])

But I still can't get the screen to lock.

I am using pythonista

Yolo Gamer
  • 53
  • 1
  • 1
  • 5

1 Answers1

0

Split-screen multitasking is enabled by default (since iOS 10), and this is interfering with the setting.

The documentation explains that you should click the Requires Full Screen checkbox.

J_H
  • 17,926
  • 4
  • 24
  • 44
  • Do you know how to disable split-screen multitasking in pythonista? – Yolo Gamer May 27 '19 at 00:34
  • The documentation explains that you should click the Requires Full Screen checkbox. – J_H May 27 '19 at 06:45
  • I’m not sure if I am missing something ,but I can’t find a switch/button in Pythonista to turn on “requires full screen “. Do you know if there is a line of code that can enable this? – Yolo Gamer May 27 '19 at 15:52