Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone Contacts - Get Company Name

I am using the Address Book frameworks in an iPhone app, and I would like to get the items Company Name. I can't find this info in the AddressBookUI_Framework.pdf, can someone shed some light on this.

Regards

AddressBook/AddressBook.h

AddressBookUI/AddressBookUI.h

like image 857
oberbaum Avatar asked Jan 25 '10 10:01

oberbaum


People also ask

How do I get my company name on my Contacts?

Typing out an organization name in the main SEARCH box displays the relevant contacts that have the info in the Organization field. Show activity on this post. You'll have to remove the information from the name field. Then your business or your organization will be displayed in the contact list.

How do I get my iPhone to show company names?

Answer: Please tap “Settings” Please tap “Display Company in Contacts” Select “Display before name” or “Display after name”

Can iPhone Display Company name incoming call?

the iphone (or rather mobile networks i know of) do not support transmission of caller name. they only send the number. that feature is present in landline based caller-id machines. "Job title" field also appears in incoming calls.

Can you search iPhone Contacts by company?

On the iPhone you can only search for Name and Last Name if the record is Name. If the record is labeled as a Company, you can only search by Company Name, not by a contact person's name in that company.


2 Answers

I think you're looking for the kABPersonOrganizationProperty key.

like image 195
Ole Begemann Avatar answered Oct 07 '22 15:10

Ole Begemann


As Ole mentioned you need to use kABPersonOrganizationProperty key. You can have a look at ABPerson reference and ABPerson.h header for other keys and more details.

like image 38
Vladimir Avatar answered Oct 07 '22 15:10

Vladimir