Search code examples
objective-cmacosexchange-serveraddressbook

Any OBJC API to get access to the Exchange Source of the AddressBook on Mac


The language I am using is Objective-C, and I'd like to get the exchange source list from the address book on Mac.

When using addressBook.framework for the iOS platform, I can found some API like:

CFArrayRef allSources = ABAddressBookCopyArrayOfAllSources(book);

This works perfectly, but I can't find any similar API in the same framework for Mac.

Is there any way to get the source list from mac?

Or are there any libraries or frameworks that contain the functions?


Solution

  • I've checked the Apple's Document, it seems there's no way to get ExchangeSource data on the Mac, thanks anyway!