iOS 判断当前输入法。UITextInputMode
//判断当前输入法 -(void)textViewDidChangeSelection:(UITextView *)textView { NSLog(@"wewe:%@",[[UITextInputMode currentInputMode] primaryLanguage]); //do something en-US为英文。。zh-hans为中文 /* if ([[[UITextInputMode currentInputMode] primaryLanguage] isEqualToString: @"en-US"]) { NSLog(@"en-US"); } else { NSLog(@"zh-hans"); } */ }