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
, bu
If you want to get ALL fields of a contact with known identifier:
let contact = unifiedContact(withIdentifier: identifier, keysToFetch: [CNContactVCardSerialization.descriptorForRequiredKeys()])
This gives you an access to ALL fields, such as adresses, phone numbers, full name, etc.
To retrieve fullName then:
let fullname = CNContactFormatter.string(from: contact, style: .fullName)