I am using coco2dx 2.0.4
When I add a CCTextFieldTTF to the layer, I just fount that the touch events didn’t work anymore.
So I must exit the keyboard first, then I can use touch events.
That’s very inconvenient for me.
I just hope that I can click the buttons and when I press on any position of the other screen the touch events can be called while the keyboard is on.
What should I do?
Thank you.
i have encountered the same question
hope someone reply
Touches disabled in EAGLView.mm
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
if (isKeyboardShown_)
{
[self handleTouchesAfterKeyboardShow];
return;
}