XCODE / IOS - How to use exclusive extension to immediately present whatsapp (.wai, .waa, .wam)

戏子无情 提交于 2019-12-02 05:37:34

问题


Is there any way to make work that part of the 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.

I don't really ask for a code example as I almost tried eveything, but more if someone ever successfully opened the whatsapp application WITHOUT passing through the share menu (with messenger tile, whatsapp, notepad...) ?


回答1:


FYI: As I went through a lot of tests with this, I couldn't find any solution yet.

Whatsapp recognize the file extension, but cannot even read it. Once shared, when you click on it, it's written ".whatsapp audio file", nothing more (And it's not even shared directly).

I sent a email to whatsapp developper team, they said they have others problem to fix currently, so it's not even on their to do list.

Wait & see..



来源:https://stackoverflow.com/questions/48599394/xcode-ios-how-to-use-exclusive-extension-to-immediately-present-whatsapp-w

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