//判断当前输入法
-(void)textViewDidChangeSelection:(UITextView *)textView
{
NSLog(@"wewe:%@",[[UITextInputMode currentInputMode] primaryLanguage]);
/*
if ([[UITextInputMode currentInputMode] primaryLanguage] == @"en-US") {
NSLog(@"en-US");
}
else
{
NSLog(@"zh-hans");
}
*/
}