Issues with cc.TextFieldTTF as input box

Issues with cc.TextFieldTTF as input box
0.0 0



I am using cc.TextFieldTTF.create as input text box, but to give input user should click at exactly at a particular point, then only it starts taking input otherwise it’s not taking input.

My requirement is I want a text input field which can take 20 characters as input. Where ever user clicks on that particular box it should allow to enter the text. can any one please help me.

Thanks & regards,


have you tried using detachWithIME and attachWithIME methods of this class to disable and enable keyboard input?