Libor Zapletal
Libor Zapletal

Reputation: 14102

iOS - How to get device names sortening in system address book?

I would like to get which settings has user set in his device to set the same in my app. User can set "Sort Order" and "Display Order" as "First, Last" or "Last, First". Where can I access what user has set?

I found that in ABAddressBook class there is method defaultNameOrdering() which looks like what I am looking for. But that class is deprecated. Is there a property or a same method in CNContactStore? And for both? Sort and display order?

I can't find any similar info in CNContactStore. Thanks for help

Upvotes: 0

Views: 49

Answers (0)

Related Questions