How to accept a drop of any file in my iOS11 Application?

I've been trying to figure out how to make my iOS app accept any file type dragged and dropped onto it.


I have seen many examples showing how to do this with text and images, or custom objects, but not with generic files. I'm assuming I need to use

NSItemProviderReading or NSItemProviderWriting 


but it seems that there must be something for handing ANY file type?


If anyone has an example of receiving a dropped file, I'd love to see it!


Thanks

How to accept a drop of any file in my iOS11 Application?
 
 
Q