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.
Cannot call UIButton.setMenu_() in Pythonista 3.4
-
Using
UIButton.setMenu_()
crashes.
I noticed this problem when I'm using @mikael ui3 menu.py.It looks like:
objc_button = self.button.objc_instance.button() objc_button.setMenu_(objc_menu)
I also tried something like this:
button = ObjCClass("UIButton").alloc().init() menu = ObjCClass("UIMenu").alloc().init() ... button.setMenu_(menu)
But crashed as well.
I remember there was no problem in Pythonista3.3, is there any solution?
-