iOS獲取漢字首字母

#import "pinyin.h"   程序員


    NSString *hanyu = @"程序員";spa

    for (int i = 0; i < [hanyu length]; i++)3d

     {orm

        printf("%c", pinyinFirstLetter([hanyu characterAtIndex:i]));ip

    }get

類庫下載 pinyin.zipit

相關文章
相關標籤/搜索