iOS - Share image + text to WhatsApp?

安稳与你 提交于 2019-12-03 07:04:31

问题


I'm using the UIDocumentInteractionController method to share images from my app to WhatsApp (explained in How send image to WhatsApp from my application?, WhatsApp image sharing iOS).

I'm also aware of the share via URI option, used to share texts only (explained here: https://www.whatsapp.com/faq/iphone/23559013).

Is there a way to share both an image and a caption in a single share?


回答1:


Currently there is no way that you can share both image and text together on whatsapp. Sharing both image and text together is not handled from the whatsapp side.

So, at a time you can share only image or text.




回答2:


from my experience and knowledge "UIDocumentInteractionController" is the only way of doing it for now...




回答3:


You can use the UIDocumentInteractionController as mentioned in the 2nd answer to this question as of August 4, 2014: Share image/text through WhatsApp in an iOS app



来源:https://stackoverflow.com/questions/22894757/ios-share-image-text-to-whatsapp

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