0

I am using the UIDocumentPicker from iOS 8, uploading various documents from a number of different external apps such as Dropbox and Google Drive. Is there some way where I can know which app the user is getting the document from?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
jnelson
  • 1,215
  • 10
  • 16
  • Curious - why do you need to know? It shouldn't matter where it comes from. – rmaddy May 17 '16 at 21:54
  • Before I started using the document picker I had my own custom upload method. After using one of those to upload a document the user would be able to see, "Uploaded from Google Drive/Dropbox/etc on May 16, 2016". Thanks for the answer, by the way! – jnelson May 17 '16 at 22:25

1 Answers1

0

No. There is no API that provides this information. All you know is a temporary file URL for the selected file (when using the Import mode).

rmaddy
  • 314,917
  • 42
  • 532
  • 579