I am trying to get a localized index like Contacts using UILocalizedIndexedCollation. In contacts, when I change the language, the index changes according to the language. However, it sectionIndexTitlesalways returns an English index.
I tried this with the demo application I created, and with 3_SimpleIndexedTableView, which is Apple's demo application, and no application has a localized index.
I tried to create a localization folder for the current locale (I used [[NSLocale autoupdatingCurrentLocale] localeIdentifier]to determine the current locale). This does not affect the index.
I looked for the appropriate settings plist, did not find anything.
Am I missing something or is it UILocalizedIndexedCollationreturning only English sorting?
source
share