So.. after figuring out how to store a contact in the iPhone addressbook, using the AddressBook framework of the iPhone SDK, i realized that storing phonenumbers wasent quite as straight forward as storing fields like first- and lastname.
Phonenumbers are stored in a “multivalue” property. This means that multiple values with different “labels” can be stored for the property “phone” (kABPersonPhoneProperty) of a person.
Anyways – i thought i would throw in the code:
Advertisements