How to fetch the phone number for the imessage extension created application

懵懂的女人 提交于 2019-12-01 12:06:17

问题


I am trying to implement an iMessage Extension application, i want to fetch the number for whom i have selected the imessage to be created with the app i have created.

How to fetch the number whom I am sending this custom message. Any idea ? as I could not get much information from the Message Class referenced in the 'MSMessage' library file.

I can only access the UUID which is not what I want.

Thanks for any suggestions given.


回答1:


For the moment it's not possible. It's more a question of privacy, Apple doesn't want dev to access private data like that. Maybe later Apple will allow it via a permission asked to the user (like they do for agenda/position etc).



来源:https://stackoverflow.com/questions/39719080/how-to-fetch-the-phone-number-for-the-imessage-extension-created-application

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