Forum Archive

iOS 15 console freeze issue ?

momorprods

Greetings incredible community!

After migrating my iPhone to iOS15 I noticed a few issues with my Pythonista-made apps. Weird SceneView behaviours, but more critical - some random freeze when running some of the console functions.

As a basic illustration, the code below freezes randomly (about 1 freeze every 3-4 attempts when I hit the « close » button (the popup does not display upon freeze)

import ui
import console

def button_action(sender):
    global view
    #view.close()
    q=console.alert('Confirm Close ?','So you want to close this view? So you want to close this view?So you want to close this view? ','OK')
    if q==1:
        view.close()

button = ui.Button(title='Close',action=button_action)
button.y = 100

view = ui.View()
view.add_subview(button)
view.present() 

Of course this didn’t occur right before my iOS update. Do you also have this kind of random problem?

Thks!

cvp

@momorprods could you read this topic , perhaps it could help you

momorprods

Thanks a lot, this seems to help a lot. 👍