0

我正在使用空投的设备之间共享我的应用程序上的文件。

接收文件时在接收设备上调用的应用程序委托方法是什么?我查看了文档和在线,但没有发现任何有用的东西。

4

1 回答 1

3

Airdrop has nothing to do with your app. It's simply the OS handling documents so you have to register your app as being capable of opening that type of document.

https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html#//apple_ref/doc/uid/TP40010411-SW1

https://developer.apple.com/library/content/qa/qa1587/_index.html

Although to be honest, I'm not sure if this works for Airdrop as well. This works for mail though.

于 2017-07-18T02:38:12.030 回答