• 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
ABPeoplePickerValueSelectionDidChangeNotification does not work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ABPeoplePickerValueSelectionDidChangeNotification does not work?


  • Subject: ABPeoplePickerValueSelectionDidChangeNotification does not work?
  • From: Dave Camp <email@hidden>
  • Date: Fri, 28 May 2004 16:57:09 -0700

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
---
Among the chief weapons of UNIX: Fear, surprise and ruthless efficiency.
_______________________________________________
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.


  • Follow-Ups:
    • Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?
      • From: Frank Blome <email@hidden>
  • Prev by Date: Receiving tracking rectangle events
  • Next by Date: Re: CFHTTP POST bug? or PHP bug?
  • Previous by thread: Re: Receiving tracking rectangle events
  • Next by thread: Re: ABPeoplePickerValueSelectionDidChangeNotification does not work?
  • Index(es):
    • Date
    • Thread