views:

339

answers:

1

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.

+1  A: 

From the docs

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

ABPersonSortOrdering ABPersonGetSortOrdering (
   void
);
coneybeare
Thanks. Never considered that it was a "Person" attribute...seems like an attribute of the overall Address Book.
Greg Maletic