Home button resets Pythonista script.
-
I am refreshing this posts as anyone making an iOS app may find this handy.
If you press the home button while your script is running, the app state is cleared. Most iOS app users would want to remember the app state when the user returns. Here is the old post.
https://forum.omz-software.com/topic/2096/effects-of-iphone-home-button-to-app