iOS汉字中提取首字母
NSMutableString *mutableStr = [[NSMutableString alloc]initWithString:string];
if (CFStringTransform((__bridge CFMutableStringRef)mutableStr,0,kCFStringTransformMandarinLatin,NO)) {
}//普通话转换成拉丁
if (CFStringTransform((__bridge CFMutableStringRef)mutableStr, 0, kCFStringTransformStripDiacritics, NO)) {
}//去掉声调
一定需要注意的:这个提取首字母是非常消耗时间的过程