Anyone have any examples of how to add AirDrop to an app for sending and receiving a file from the documents folder? I am trying to share a SQLite database between to an iPhone and iPad app. I have done a lot of research and it looks like AirDrop is the way to go, but I am having problems figuring out how.
I know I need to open AirDrop using UIActivityViewController and that is not a problem but how do I establish the connection between the two devices? Any have a simple example that would help me get on the right track?
Thank you!
UIActivityViewController
is a great convenience, but I would like to send the files programmatically. I want myDeviceApp to scan for all devices that have AirDrop enabled, get UUID of each device and send concurrently or synchronously a picture or video to all devices. 1. How can I get UUID of each device that is in range of myDeviceApp? 2. How can I send data programmatically to all devices? – Monkhood