标签:net line rdsh key show multi string ret 原因
原因:参数少了前缀CC
解决方案:修改 cocos/platform/ios/CCEAGLView-ios.mm 中的 handleTouchesAfterKeyboardShow
-(void) handleTouchesAfterKeyboardShow { NSArray *subviews = self.subviews; for(UIView* view in subviews) { //if([view isKindOfClass:NSClassFromString(@"CCCustomUITextField")] || //[view isKindOfClass:NSClassFromString(@"UISingleLineTextField")] || //[view isKindOfClass:NSClassFromString(@"UIMultilineTextField")]) //{ // if ([view isFirstResponder]) // { // [view resignFirstResponder]; // return; // } //} if([view isKindOfClass:NSClassFromString(@"CCCustomUITextField")] || [view isKindOfClass:NSClassFromString(@"CCUISingleLineTextField")] || [view isKindOfClass:NSClassFromString(@"CCUIMultilineTextField")]) { if ([view isFirstResponder]) { [view resignFirstResponder]; return; } } } }
标签:net line rdsh key show multi string ret 原因
原文地址:https://www.cnblogs.com/gamesky/p/8954511.html