修改cocos\platform\ios\CCEAGLView-ios.mm
1:函數(shù)markedTextRange中加入
? ??if (nil != markedText_){
? ? ? ? return [[[UITextRange alloc] init] autorelease];
? ? }
2:函數(shù)textInRange中加入
if (nil != markedText_) {
? ? ? ?return?markedText_;
? ? }
3:函數(shù)touchesBegan中加入
for (UIGestureRecognizer *ges in [self gestureRecognizers]) {
? ? ? ? [self removeGestureRecognizer:ges];
? ? }