How to add contacts custom app account like below screen shot

我的梦境 提交于 2019-12-06 10:31:12

问题


I'm developing an app which needs its own contacts to be visible in their contacts. Like Whatsapp, I need to show the contact nos that they are registered in my app.

For example, If you add a Friend's whatsapp no in contacts, it will show Found in Whatsapp. So I'm also need the same kind of functionality for my app.

When i install my app, my app should be added to the above list. (Have a look at above screenshot).

I've searched and found nothing about this. So any help would be greatly appreciated.


回答1:


Just add the below snippet into your info.Plist to get your app name in list

<key>NSUserActivityTypes</key> <array> <string>INStartAudioCallIntent</string> </array>

Check this link




回答2:


finally i found the solution , if u add callkit and need to config , then it will added on the list , https://developer.apple.com/library/content/samplecode/Speakerbox/SpeakerboxUsingCallKittocreateaVoIPapp.zip , download the source and run the project , after installation complete open contacts and add social profile, then you will find 'Speakerbox' on the social profile.



来源:https://stackoverflow.com/questions/44518149/how-to-add-contacts-custom-app-account-like-below-screen-shot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!