Get a random name and number (same contact) from an iPhone users address book
- by Sam Jarman
Hi there,
I have had only very little experience using the address book in the iPhone SDK.
Does anyone have a code snippet or knows the code to get a persons name and number Eg 'Fred Smith - 027 292 2112". I haven't had much luck with the stuff I've tried.
I want to achieve this programmatically, and not let the user decide (random pick of the person). I also don't want to display the contact picker either
any tutorial links, or anything would be appreciated.
Thanks in advance
Sam