Can someone confirm they’ve seen table listeners work with native (IOS) text fields…I’ve tried both:
[lua]local natFld
natFld = native.newTextField(fieldX,startY,fieldWidth,rowHeight, natFld)
natFld.userInput = some_func[/lua]
where “some_func” expects params (self, event)
and also tried omitting P5 from native.newTextField
and then setting it explicitly after creation like this:
[lua]local natFld
natFld = native.newTextField(fieldX,startY,fieldWidth,rowHeight)
natFld.userInput = some_func
natFld:addEventListener(‘userInput’, natFld) – obj listener[/lua]
an NEITHER seems to work. I’m getting frustrated & will just resort to a closure unless someone can confirm this works for them… [import]uid: 6175 topic_id: 8546 reply_id: 308546[/import]