标签:
两行代码解决:
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text { if ([[[UITextInputMode currentInputMode]primaryLanguage] isEqualToString:@"emoji"]) { return NO; } return YES; }
标签:
原文地址:http://www.cnblogs.com/yulongjiayuan/p/5405762.html