4

I am using UIActivityViewController to share data between devices using AirDrop but the problem is I can't test the feature because I have just one device that supports AirDrop. Is there anyway to do that?

Aziz Shaikh
  • 16,245
  • 11
  • 62
  • 79
Ziad Tamim
  • 350
  • 6
  • 17

4 Answers4

5

No, there literally isn't. You have to have another device, I also looked into this earlier.

MCKapur
  • 9,127
  • 9
  • 58
  • 101
5

You need at least two devices to test the Airdrop functionality.

Andrew
  • 3,874
  • 5
  • 39
  • 67
Sport
  • 8,570
  • 6
  • 46
  • 65
1

Right. You must have 2 fairly recent devices. The iPhone 4s does not support AirDrop for some reason, while the iPad Mini does.

Duncan C
  • 128,072
  • 22
  • 173
  • 272
0

The way Hegarty does it for the Trax demo (Stanford cs193p) is he runs the demo onto his phone. AirDrop on the Mac then sees his phone and he drops the .gpx file there. The app running on the phone will get the message and read the file.

Cheborneck
  • 11
  • 2