Multi-line text input

local pretext = “hello world”
inputField = native.newTextBox( 50, 150, 680, 500, handlerFunction )
inputField.inputType = “default”
inputField.text = pretext
inputField.isEditable = true
inputField.size = 18
localGroup:insert(inputField)

– and should u like that the keyboard appears automatically add
native.setKeyboardFocus(inputField)

enjoy
chris
[import]uid: 4795 topic_id: 12097 reply_id: 55676[/import]

I have a try, but the codes don’t support on ios device,is it? it still read only [import]uid: 29364 topic_id: 12097 reply_id: 55801[/import]

Hello all, if you need multi-line text input, please use native text boxes rather than textFields:

http://developer.anscamobile.com/reference/index/nativenewtextbox

The only difference is that you need to make sure the isEditable property is set to true. [import]uid: 52430 topic_id: 12097 reply_id: 79278[/import]