我正在制作一个带有联系人的 iOS 应用程序,我想以与 iPhone 联系人应用程序相同的方式对联系人进行排序。
What I mean is that if the contact is 试命名, (which according to Google Translate translates to Test Name) this is sorted under letter S in the Contacts.app when the chosen iPhone language is Chinese (Simplified).
因此,Contacts.app 知道如何将中文字符映射到它们在英文字母表中的拼音对应。我将如何在我的应用程序中做到这一点?