CCEditBox open automatically

CCEditBox open automatically
0.0 0


I wanna open automatically a cceditbox without touch it, how can I do it?

Thanks for answer.


Try calling attachWithIME() on the CCEditBox Instance.


Thank you, but don’t works, at least android 4.1.2

Maybe there’s another way, I want to force the user to write, I use a cceditbox for that but I just wanna display the keyboard andpick up what the user type after by pressing enter.


Try editBox->touchDownAction(editBox, CCControlEventTouchUpInside);


Nice! It Runs! Very thanks :slight_smile: