Retrieve iPhone Address Book sorting preference programmatically?
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.
From the docs
ABPersonGetSortOrdering
Returns the user’s sort ordering preference for lists of persons.
ABPersonSortOrdering ABPersonGetSortOrdering (
void
);
精彩评论