Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Pythonista crashes after returning from share extension APP
-
Hi,
Thanks for the brilliant Pythonista 2.0, the appex and dialogs module are awesome.
After playing with them for a while, I found returning from some APP may cause Pythonista crash. Bellow is the code:# coding: utf-8 import ui import dialogs def button_action(sender): dialogs.share_text('test') v = ui.View(frame=(0,0,200,400)) btn = ui.Button(title='button') btn.action = button_action btn.center = v.center v.add_subview(btn) if ui.get_screen_size()[1] >= 768: # iPad v.present('popover') else: # iPhone v.present(style='full_screen', hide_title_bar=False, orientations=['portrait'])
In the sharing dialog, choose an APP named "youdao dictionary"(An English-Chinese dictionary). The APP will show the dictionary item. Stay for a few seconds and click the OK button to return. Now Pythonista crashes.
I just tested 2 APPs, OALD and youdao dictionary. OALD is OK.