From a2de02cc19f79ace82eae549adf5bb9002558186 Mon Sep 17 00:00:00 2001 From: XiaoLongHan Date: Thu, 17 Oct 2013 14:21:55 +0800 Subject: [PATCH] Change the class name of textfield to compare, so that you can touch anywhere outside of the virtual keyboard. --- cocos/2d/platform/ios/EAGLView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/platform/ios/EAGLView.mm b/cocos/2d/platform/ios/EAGLView.mm index 188172e73a..5d305d4bdc 100644 --- a/cocos/2d/platform/ios/EAGLView.mm +++ b/cocos/2d/platform/ios/EAGLView.mm @@ -378,7 +378,7 @@ static CCEAGLView *view = 0; for(UIView* view in subviews) { - if([view isKindOfClass:NSClassFromString(@"CustomUITextField")]) + if([view isKindOfClass:NSClassFromString(@"CCCustomUITextField")]) { if ([view isFirstResponder]) {