• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?


  • Subject: Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?
  • From: Dave Camp <email@hidden>
  • Date: Tue, 1 Jun 2004 15:03:07 -0700

I logged a bug on this today. This is unfortunate as the view is basically useless for me if this feature does not work correctly.

Dave

On May 29, 2004, at 8:49 AM, Frank Blome wrote:

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.



---
The path of least resistance, it's not just for electricity any more.
_______________________________________________
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.


  • Prev by Date: Re: G5 so much slower then G4
  • Next by Date: Re: NSObjectController HELP
  • Previous by thread: [ANN] BugManager 1.2.0 - Local defect management system
  • Next by thread: Re: Apple, Are You Listening
  • Index(es):
    • Date
    • Thread