Reputation: 1065
I don't use the ABAddressBook framework at all. I have no clues why my application want to access the contacts? There are no exceptions, or useful log data...
Upvotes: 2
Views: 539
Reputation: 78945
There isn't any documentation I know of. I would try to set a breakpoint in the debugger on +addressBook
and +sharedAddressBook
of the ABAddressBook
class and the relevant C functions such as ABGetMe
and ABGetSharedAddressBook
.
Furthermore, stop the app in the debugger as soon as the dialog appears and investigate all threads for suspicious function calls because OS X will be blocking the the call until the user has click one of the options.
In a related post in the Apple Developer Forums, I've read that the InstantMessage framework for iChat Theater support was the culprit in that case.
Upvotes: 3