Skip to content

Contacts Store

levching edited this page Apr 6, 2020 · 4 revisions

The ISN_CNContactStore class is a thread-safe class that can fetch and save contacts, groups, and containers.

Fetch Phone Contacts

You may fetch all the contacts from user contact book with the FetchPhoneContacts of the ISN_CNContactStore class.

    using SA.iOS.Contacts 
    ...
    ISN_CNContactStore.FetchPhoneContacts((result) => {
        if(result.IsSucceeded) {
            foreach(var contact in result.Contacts) {
                Debug.Log(contact.GivenName);
            }
        } else {
            Debug.Log("Error: " + result.Error.Message);
        }
    });

About

Foundation

AV Foundation

App Tracking Transparency

Game Kit

Store Kit

UI Kit

Social

Replay Kit

Contacts

AVKit

Photos

App Delegate

User Notifications

MediaPlayer

Core Location

AdSupport

EventKit

CloudKit

Authentication Services

XCode

Knowledge Base

Clone this wiki locally