[Issue] Keyboard shortcut and dialog module support
Hi there, I’ve been working on an app recently that uses the dialogs module. When using the function “input_alert”, and or “alert” it works perfectly fine within the Pythonista program, but when I try to implement this code using the “keyboard shortcut” no dialog is displayed and the keyboard essentially crashes… is there anyway around this, I did try to create my own UI using TextFields but that wasn’t working aswell. Thank you!
ccc last edited by
It is easier to debug Python code than English prose.
cvp last edited by cvp
@circumvention I don't think that keyboard shortcut supports dialog but you can use ui.TextField or ui.TextView in your customized keyboard view, like the help function in the Calculate keyboard example, included in Pythonista.
Have a look there.
But don't forget that your keyboard is active on a TextField/TextView of another app thus your customized TextField in the keyboard can display a text but can't be edited. Only buttons can be pressed.