问题
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:
From the docs
ABPersonGetSortOrdering
Returns the user’s sort ordering preference for lists of persons.
ABPersonSortOrdering ABPersonGetSortOrdering (
void
);
来源:https://stackoverflow.com/questions/2067934/retrieve-iphone-address-book-sorting-preference-programmatically