Forum Archive

Getting rid of pop ups when running on simulator from Xcode?

Vile

I’ve tried running pythonista python files on Xcode in the simulator so that I can test out what my scripts would look like as an iOS app on an IPhone.

The problem is that when I run the script, the console pops up (the one from the pythonista app with the "clear" button and play button) before the scene pops up, which looks annoying and isn’t part of the game I’m trying to make. And when the scene does pop up, an X appears (like when you run a scene in the pythonista app) and when I click on it, i’m taken back to the console, which is annoying.

Also, when I tried root.present(hide_title_bar=True) when running a ui scene, the console still appears for a few seconds before the ui shows up and covers the screen (to clarify, I do not want to use the ui module.)

Is there a way to prevent the console from popping up?

And is there a method similar to root.present(hide_title_bar=True) which I can use to hide the annoying X (the one that appears in the corner of the screen) when running a scene module script?

Vile

Got it working, forget this post - lol