• I think just keeping the iPad active will be enough. I don't really need it to run in the background. Thanks!

  • IOS applications can register to recieve "notifications" of certain system events.Since pythonista has a bridge to objectivec, it is possible to tap into those events, and register a python function to be called when the event occurs.

    This code probably needs to handle cleared globals, and multiple runs ("deregister" the object), etc but would work for the simple use case presented.

  • Note to self (and others so afflicted)—
    Starting with this seemed to fix it:

    where i've done this at global scope:
    scrSize=(1136,640) # iPhone 5
    set_size(*scrSize) # min 16, max 2048

    (my canvas is meant for landscape viewing)

Internal error.

Oops! Looks like something went wrong!