How to fetch all contacts record in iOS 9 using Contacts Framework
问题 Most part of AddressBook framework is deprecated in iOS 9. In the new Contacts Framework documentation only shows how to fetch records matches a NSPredicate , but what if I want all the record? 回答1: Both other answers do only load contacts from the container with the defaultContainerIdentifier . In a scenario, where the user has more than one container (i.e. an Exchange and an iCloud account which both are used to store contacts), this would only load the contacts from the account that is