EditBox set the maximum number of characters

cc.EditBox.setMaxLength(maxLength)

Guess you like

Origin www.cnblogs.com/guomengkai/p/12522568.html