Home:ALL Converter>Sending a file via AirDrop (iOS) and the recipient is not given the opportunity to accept/reject the file

Sending a file via AirDrop (iOS) and the recipient is not given the opportunity to accept/reject the file

Ask Time:2015-08-11T14:01:34         Author:Gavin Hope

Json Formatter

I've made it possible to send a serialised object via AirDrop. I've added both a custom Document Type and an Exported UTI.

Sending and receiving the file is working just fine - in that the recipient can process and use the data as expected.

However, when testing this process between my devices the files are automatically accepted - the recipient isn't given the opportunity to accept/reject.

Normally, when sharing files via AirDrop the user is given the opportunity to accept or reject, so I'm wondering if I need to do something to ensure this happens? But, I haven't seen anything in Apple's documentation relating to this...

Any suggestions?

Author:Gavin Hope,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/31934274/sending-a-file-via-airdrop-ios-and-the-recipient-is-not-given-the-opportunity
yy