有什么方法可以让whatsapp的那部分工作document interaction API :
Alternatively, if you want to show only WhatsApp in the application list (instead of WhatsApp plus any other public/*-conforming apps) you can specify a file of one of aforementioned types saved with the extension that is exclusive to WhatsApp:
images - «.wai» which is of type net.whatsapp.image
videos - «.wam» which is of type net.whatsapp.movie
audio files - «.waa» which is of type net.whatsapp.audio
When triggered, WhatsApp will immediately present the user with the contact/group picker screen. The media will be automatically sent to a selected contact/group.
我并没有真正要求代码示例,因为我几乎尝试了所有东西,但如果有人成功打开了 whatsapp 应用程序而没有通过共享菜单(使用信使磁贴、whatsapp、记事本......),那么更多?
Best Answer-推荐答案 strong>
仅供引用:因为我对此进行了很多测试,但我还没有找到任何解决方案。
Whatsapp 识别文件扩展名,但甚至无法读取它。一旦分享,当你点击它时,它写的是“.whatsapp音频文件”,仅此而已(甚至没有直接分享)。
我给 whatsapp 开发团队发了一封电子邮件,他们说他们目前还有其他问题要解决,所以甚至不在他们的待办事项 list 上。
拭目以待..
关于ios - XCODE/IOS - 如何使用专属扩展立即呈现whatsapp (.wai, .waa, .wam),我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/48599394/
|