//汉字转拼音,比较排序时候用

//汉字转拼音,比较排序时候用

        NSMutableString *ms = [[NSMutableStringalloc] initWithString:car.name];

        if (CFStringTransform((__bridgeCFMutableStringRef)ms, 0,kCFStringTransformMandarinLatin, NO)) {

        }

        if (CFStringTransform((__bridgeCFMutableStringRef)ms, 0,kCFStringTransformStripDiacritics, NO)) {

            car.letter = ms;

        }


http://download.csdn.net/detail/u013873967/6992825

http://download.csdn.net/detail/map625/6944965

你可能感兴趣的:(ios)