Forum Archive

How to really quit a script with Xcode Template

kami

Hi,

i am just compiling some apps from Pythonista with the Xcode Template. Everything works fine but if i add a quit button in my screen the Frame just goes to background on the Iphone. Which command can i use to really exit the Xcode app?

Thanks a lot.

Cu kami

ccc

iOS does not work that way on ObjectiveC, Swift, or Python. On iOS, apps remain in RAM until a user physically pushes them out of RAM.

JonB

there are ways to crash the app, which forces it out of memory. however, this are not allowed if you plan on submitting to the app store.

https://forum.omz-software.com/topic/4369/force-exit-to-home-screen/10

kami

Hi,

i am not planning to put then into App Store. But the os.abort() is not working. How did you exit your apps?

thanks a lot.

Cu kami