iOS How should I open phonebook through coding

901 views Asked by At

I am doing one project in that I am sending messages to multiple user. When I am composing message I took one textfield for enter contact. When I click on contact textfield I want to open phone contact (like In Phone default compose message view how the all contacts appears when user click on "To") view.

In Android development we can open the phone contacts bye using "contact intent" I want to create like the same.

By using ABAddressBook I am able to fetch all contacts. But I dont want to create custom phonebook contact. So please help me that is there any default method to get default phone contacts controller in iOS.

For example how we directly open the setting page by using

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs://"]];

this . I want the something like this to open the phone contact and once i finished any action(i.e selected any contact number) then it will get back to my app

1

There are 1 answers