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]) {