ABAddressBook: trouble getting Identifier from MultiValueRef Index
- by Meltemi
Every time the following line gets executed emailID is set to 0... yet it clearly should be 1 (or whatever is the Identifier for the value at index 1).
ABMultiValueIdentifier emailID = ABMultiValueGetIdentifierAtIndex(emailMultiRef, selectedEmailIndex);
CFIndex selectedEmailIndex has a value of: 1
ABMultiValueRef emailMultiRef has a value of:
0: _$!<Work>!$_ (0x4847e90) - [email protected] (0x4847eb0)
1: _$!<Work>!$_ (0x4847660) - www.creative-consulting-inc.com (0x4847810)
Anyone see what's happening within this convoluted address book?!?