Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?
Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?
- Subject: Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?
- From: Frank Blome <email@hidden>
- Date: Sat, 29 May 2004 17:49:05 +0200
Hi Dave,
exactly the same problem I had some days before - and send it to this
list. Together with Nik Sands we found out, that this might be a bug in
the PeoplePickerView. Until now I had tried some workaround, but
unfortunately without any luck.
Some guy from Apple reading this? Or has anyone else a solution to find
out which phone number in the PeoplePickerView is selected?
Frank
Am 29.05.2004 um 01:57 Uhr schrieb Dave Camp:
I'm using an ABPeoplePickerView and I can't seem to get
ABPeoplePickerValueSelectionDidChangeNotification to work. I'm
registering for the following notifications:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(abValueSelectionChanged:)
name:ABPeoplePickerValueSelectionDidChangeNotification object:NULL];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(abValueSelectionChanged:)
name:ABPeoplePickerNameSelectionDidChangeNotification object:NULL];
and I've set...
[ppView setValueSelectionBehavior:ABSingleValueSelection];
[ppView addProperty:kABPhoneProperty];
[ppView setAllowsGroupSelection:YES];
[ppView setAllowsMultipleSelection:YES];
My notification method is called when I click on different names, but
not when I click on a different phone number for the same person. In
other words, If there is no selection and I click on the Work number
for a contact, I get a
ABPeoplePickerNameSelectionDidChangeNotification. However, if I
subsequently click on the Home number of the same contact, the visible
selection changes, but I don't get a notification for it.
What am I doing wrong?
Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.