Change the class name of textfield to compare, so that you can touch anywhere outside of the virtual keyboard.

This commit is contained in:
XiaoLongHan 2013-10-17 14:21:55 +08:00
parent c903c1a9a9
commit a2de02cc19
1 changed files with 1 additions and 1 deletions

View File

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