How does WhatsApp add their icon to their contacts tab and favourites tab in iPhone SDK

1.9k views Asked by At

I have been working on app which needs phone contacts,i am able to get the name and phone numbers from the AddressBook. But want to make tab like whats app has done,they open the default Address Book with icon of whats app in in front of contact number if the user is available on WhatsApp and also the status of the contact person. How does the WhatsApp add icon to the number and add status to their contacts tab? Also i am confused whether the contacts tab in WhatsApp using default UIAddressBookController or they made custom. For more clarity please check the screenshot that i have added.

Kindly suggest me how can i achieve this in my app using the default ABPeoplePickerNavigationController.

1

There are 1 answers

2
Sebastian Wramba On

I am pretty sure that this is a custom view controller that mimicks the original detail view of a contact. It looks similar but is still different. There is no "groups in common" or status or whatsoever in the standard detail view. Also, this is a standard system component that you can and should not override.

They will probably be using the API to access the Contacts and present them in their own view controllers.