I have a newTextField with user input that I want to be an integer/number only, so I set the inputType = “number”. Below is my code snippet. When I test the app on an iOS device, a number keyboard does come up. But there is no way to close the keyboard. See attached pic. Is there something else I need to do?
DBText = native.newTextField(760,623, 78, 55 )
DBText.font = native.newFont( native.systemFontBold, 36 )
DBText.align = “left”
DBText.isEditable = true
DBText.inputType = “number” --displays a number keyboard
DBText.text = “1”