Questions tagged [airdrop]

AirDrop is a Wi-Fi service in Apple's OS X and iOS operating systems that lets users send files, clippings, webpages, and more to each other.

AirDrop is a Wi-Fi ad-hoc service in Apple's OS X and iOS operating systems, introduced in version Mac OS X Lion.

Using AirDrop, users can share files with other supported Mac computers through a Wi-Fi network with any configuration and without the need of mass storage devices.

115 questions
55
votes
6 answers

Default Sharing in iOS 7

I have seen this format (Image shown below) of share option in most of the iOS applications that support iOS 7. Is there a default code/framework available to implement this share option as it is shown in the image below?
Spidy
  • 1,137
  • 3
  • 28
  • 48
17
votes
4 answers

Customize the AirDrop alert description in IOS

I have the following code to send a URL through AirDrop: NSString* selfUrlScheme = [[[[[[NSBundle mainBundle] infoDictionary] valueForKey:@"CFBundleURLTypes"] …
user1445205
9
votes
1 answer

Is there a way to detect if user presses accept or deny for Airdrop request?

So, I have the airdrop feature working but I need different things to happen if the user presses accept and if the user presses deny for the airdrop request. Currently, the same actions happen whether the user accepts or denies the airdrop request.…
Euridice01
  • 2,510
  • 11
  • 44
  • 76
9
votes
2 answers

UIDocumentInteractionController prevent Airdrop in the 'Open in' sheet

In my app, I'm allowing users to share photos via Instagram, which requires the use of UIDocumentInteractionController. Airdrop is automatically detected if the phone supports it. How do I remove it from this ‘Open in’ action sheet? Even if I…
EHNole
  • 199
  • 3
  • 13
7
votes
2 answers

How to send and receive custom data with AirDrop

I've been struggling with this for ages now as I can't find any detailed examples. In my app I have an array of custom data that I want to send to another user with the same app, via AirDrop. The first step is sending the data: @IBAction func…
Greg
  • 1,673
  • 4
  • 20
  • 27
7
votes
1 answer

Airdrop error message: "cannot receive all of these items at the same time"

I use the following code to share an image, some text, and a url using UIActivityViewController. Everything works fine except that when the use selects AirDrop, it gets a "cannot receive all of these items at the same time". If I only share the…
RawMean
  • 8,374
  • 6
  • 55
  • 82
7
votes
4 answers

Send and Receive a File Using AirDrop

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…
Jon
  • 687
  • 1
  • 9
  • 14
6
votes
1 answer

Android to iOS AirDrop?

Out of curiosity... has anyone ever been able to integrate AirDrop functionality into an Android app? I really don't care about receiving any information on the Android side, but am hoping I can send information to the iOS side from Android. I'm…
ThatCampbellKid
  • 561
  • 1
  • 5
  • 19
6
votes
1 answer

Creating custom UTI for use with airdrop, iOS

I am using this code in my info.plist: CFBundleDocumentTypes CFBundleTypeName AirDrop Profile File Type LSHandlerRank Default
ZiEiTiA
  • 275
  • 2
  • 16
6
votes
3 answers

Is there a way of getting a Mac's icon given its model number?

I know you can get the current machine's icon from cocoa using the following code: NSImage *machineIcon = [NSImage imageNamed:NSImageNameComputer]; But is it possible to get the icon when given just a model number? Such as MacBookPro11,3? The…
Tap Forms
  • 912
  • 8
  • 16
6
votes
1 answer

How do I check if UIActivityTypeAirDrop exists

I'm using the UIActivityViewController to show a share sheet within some iOS Apps. iOS 7 introduces a new type of UIActivity: UIActivityTypeAirDrop. This is declared as an extern string in the UIActivity.h file... Essentially I'm trying to exclude…
Sammio2
  • 7,422
  • 7
  • 34
  • 49
5
votes
1 answer

UIActivityViewController - Can't AirDrop a more than one object type simultaneously

I'd like to be able to AirDrop a text file and an image at the same time using the UIActivityViewController. The code below works fine to send both file types via iMessage or eMail, but it fails when I try to use AirDrop. The code works fine for…
Chris Neefus
  • 111
  • 3
5
votes
2 answers

iOS 7 UIActivityViewController Email Attachments

I have reviewed a bunch of posts here, numerous online tutorials/sample code and I'm stumped. In my app I have no problem displaying the UIActivityController natively provided by iOS7 with the sharing options appropriate to my app (AirDrop and…
drumz
  • 111
  • 1
  • 5
5
votes
1 answer

AirDrop Sharing - Custom URL Scheme or Website URL

My next problem is the following: I have an app that shares via AirDrop a custom URL scheme: NSMutableString *mutableString = [NSMutableString stringWithString:@"appName://"]; [mutableString appendString:contentProduct.url]; NSURL…
Durican Radu
  • 1,327
  • 11
  • 12
4
votes
0 answers

UIActivityItemProvider problems after sharing with AirDrop

I am using the UIActivityViewController with custom subclasses of UIActivityItemProvider. My providers work just fine with every UIActivityType I wish to make available except when performing the following sequence : Display the…
Dalzhim
  • 1,970
  • 1
  • 17
  • 34
1
2 3 4 5 6 7 8