I'm creating an app that needs phone numbers to be typed or selected from the contacts. I wanna know that how to do this. How to allow user to select a contact's phone number from the contacts list? (Something Like Messages App)
Asked
Active
Viewed 1,519 times
2 Answers
0
Get the contacts list using AddressBook framework in ios, and get the details you wanted from the list of contacts. Refer the answer for this question: Fetch Contacts in iOS 7

Community
- 1
- 1

Alex Andrews
- 1,498
- 2
- 19
- 33
0
I've just commit LGPhoneBook
You need to call
[[LGPhonebook sharedInstance] readContactsWithCallbackHandler:^(NSArray *contacts) {
for (PhoneBookContact *contact in contacts) {
NSLog(@"Name: %@, mobile: %@", contact.name, contact.mobile);
}
}];

l0gg3r
- 8,864
- 3
- 26
- 46