Hi, I want to close the keyboard when I finish input text by touching the other region of the screen in iOS. But if I use CCTextfieldTTF, it can’t detect any touch event.
So I turn to use CCEditbox. However if I want to click, for instance, a button when the keyboard is open, I have to first touch the other region to close the keyboard, and then click the button, i.e. touch twice.
Are there any methods to support detect touch event when the keyboard is open, and support responding the touch event and closing the keyboard at the same time?