×

Add Contact

iOS 14 +

Notes

Add a new contact to your address book

Syntax

addContact(lastName: <#String (Allows Variables)#>, firstName: <#String (Allows Variables)#>, jobTitle: <#String (Allows Variables)#>, companyName: <#String (Allows Variables)#>, image: <#Variable#>, group: <#Array#>, addEmail1: <#Boolean#>, email1: <#String (Allows Variables)#>, email1Type: <#Enumeration (EmailType)#>, addEmail2: <#Boolean#>, email2: <#String (Allows Variables)#>, email2Type: <#Enumeration (EmailType)#>, addPhone1: <#Boolean#>, phone1: <#String (Allows Variables)#>, phone1Type: <#Enumeration (PhoneType)#>, addPhone2: <#Boolean#>, phone2: <#String (Allows Variables)#>, phone2Type: <#Enumeration (PhoneType)#>, addAddress1: <#Enumeration (AddAddressType)#>, address1: <#String (Allows Variables)#>, location1: <#Unknown Parameter#>, addAddress2: <#Enumeration (AddAddressType)#>, address2: <#String (Allows Variables)#>, location2: <#Unknown Parameter#>, url: <#String (Allows Variables)#>, birthday: <#Date#>, note: <#String (Allows Variables)#>)

Example

addContact(lastName: "Zachary", firstName: "Lineman", jobTitle: "", companyName: "", image: , group: , addEmail1: , email1: "", email1Type: , addEmail2: , email2: "", email2Type: , addPhone1: , phone1: "", phone1Type: , addPhone2: , phone2: "", phone2Type: , addAddress1: , address1: "", location1: , addAddress2: , address2: "", location2: , url: "", birthday: , note: "")