Home > Mobile >  whatsapp contact list with photos show in tableview/Swift
whatsapp contact list with photos show in tableview/Swift

Time:12-10

How can I show the photos and names of people in whatsapp in tableview in my swift application? do i need to use api for this or is there any other way?

CodePudding user response:

It is generally not possible to directly import contacts from WhatsApp into an iOS application, as WhatsApp does not provide a public API for accessing its user's contacts. Additionally, the iOS platform places strict limitations on applications' ability to access other applications' data for security reasons.

If you want to import contacts from WhatsApp into your application, you would need to obtain the user's explicit permission to access their contacts and then use the iOS Contacts framework to import the contacts. This would require the user to grant your application access to their contacts, and they would need to have their contacts stored in the iOS Contacts app in order for your application to be able to access them.

  • Related