+(BOOL)isChinese:(NSString *)str
{
NSString *regex = @"^[\u4E00-\u9FA5]*$";
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", regex];
return [predicate evaluateWithObject:str];
}
+(BOOL)isChinese:(NSString *)str
{
NSString *regex = @"^[\u4E00-\u9FA5]*$";
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", regex];
return [predicate evaluateWithObject:str];
}