Use ABAddressBook. Here's an example of adding a new contact with a name, address and phone
ABAddressBook ab = new ABAddressBook();
ABPerson p = new ABPerson();
p.FirstName = fname;
p.LastName = lname;
ABMutableMultiValue<string> phones = new ABMutableStringMultiValue();
phones.Add(phone, ABPersonPhoneLabel.Mobile);
p.SetPhones(phones);
ABMutableDictionaryMultiValue addresses = new ABMutableDictionaryMultiValue();
NSMutableDictionary a = new NSMutableDictionary();
a.Add(new NSString(ABPersonAddressKey.City), new NSString(city));
a.Add(new NSString(ABPersonAddressKey.State), new NSString(state));
a.Add(new NSString(ABPersonAddressKey.Zip), new NSString(zip));
a.Add(new NSString(ABPersonAddressKey.Street), new NSString(addr1));
addresses.Add(a, new NSString("Home"));
p.SetAddresses(addresses);
ab.Add(p);
ab.Save();
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…