Question

Is it possible to detect the sorting technique used by the Address Book on a particular user's phone? (For instance, "sort by last name" or "sort by first name".)

Thanks.

Was it helpful?

Solution

From the docs

ABPersonGetSortOrdering
Returns the user’s sort ordering preference for lists of persons.

ABPersonSortOrdering ABPersonGetSortOrdering (
   void
);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top