Most of the stuff I'm finding is using AddressBook instead of the new Contacts. I'm trying to get the names and phone numbers of all the user's contacts to display in a tableview on the app. Then take all those numbers into an API that cross references whether any of them already have accounts, so I can display an "add friend" button next to the ones that are. Is there a quick and easy way to ask for permission then get all the contacts into an array using Swift3 and compatible with iOS9 and newer?
I'm not trying to find or add a contact, I just want all the numbers and names in an array