Use of Airdrop systematically

Hi there

I have a question that I'd be very grateful for if someone could help me get an idea of how I could find an answer.

Is it possible to use the Airdrop function of the iPhone systematically while coding in Xcode?

So say I want to automatically share a hint for an escape room with all participants in the room. Could I program an app to automatically select all available receivers in a room and send them a preselect photo?

Thanks for your help! Any suggestions on how I can solve this problem are very welcome!

Accepted Answer

Users must allow to be contacted by Airdrop by anyone or by you if you are in their contacts.

Here is an implementation example (a bit old and ObjC, but that shows the logic):

http s : / / w w w .appcoda. com/ios7-airdrop-programming-tutorial/

And implementation using UIActivityViewController

http s : / / w w w . hackingwithswift. com/articles/118/uiactivityviewcontroller-by-example

Hi Claude

Thanks a lot for your help!

Use of Airdrop systematically
 
 
Q