A simple function to fetch contacts from iOS devices.
Add the following to your info.plist, otherwise won't work
<key>NSContactsUsageDescription</key>
<string>Access is needed to find your contacts in our database, we won't share or save this data.</string>