+1  A: 
if (phones.count > 0) {
   accountPhone1TextField.text = [phones objectAtIndex:0];
}
if (phones.count > 1) {
   accountPhone2TextField.text = [phones objectAtIndex:1];
}
Larsaronen
I tried that..but NSString *anEmail = [(NSString*)ABMultiValueCopyValueAtIndex(emailMulti, i) autorelease]; crashes becuase there are no email addresses
AWright4911
Are you using kABPersonEmailProperty?
Larsaronen
yes, but for some reason, if there are no records for the Email fields...it produces a crash.
AWright4911
Seems strange. If you encapsulate that in "for (i = 0; i < ABMultiValueGetCount(emailMulti); i++) {}", that line shouldn't even be executed if there are no email adresses..
Larsaronen