I'm scratching my head trying to determine how to detect if a device supports airdrop. My thinking was to try to get the UIActivity for airdrop and call canPerformWithActivityItems: on it. The problem is I can't figure out how to get the UIActivity for airdrop, anybody know how to do this? Does anybody have a different approach to solve this problem?
Thanks, Omri
There's no API that exposes this information, since UIActivityViewController won't expose the system's UIActivity objects.
Unfortunately, the only way to get this information is to check for device support.
From the Apple support website:
You can detect this in a number of ways. If you don't have existing code that does this, check out the EPPZDevice class which will do most of the work for you.