Hello, I'm trying to implement drag & drop support for my Catalyst application, with my app being the source, and Finder is the target.
I'm working in a sample app to test the APIs, and I have it working such that I can drag a UIImage from my app, and drop it on the Messages app, and that all works well.
Do note, I'm wrapping my UIImage in a custom object in order to exercise the NSItemProviderWriting protocol.
However, when I try to drag the image from my app and drop it on my Desktop, nothing happens. In fact, -loadDataWithTypeIdentifier: forItemProviderCompletionHandler: is never called in that situation.
This seems like a privacy issue to me. I'm wondering if there's a plist key I need to set, or some security clearance I must request?
I'm working in a sample app to test the APIs, and I have it working such that I can drag a UIImage from my app, and drop it on the Messages app, and that all works well.
Do note, I'm wrapping my UIImage in a custom object in order to exercise the NSItemProviderWriting protocol.
However, when I try to drag the image from my app and drop it on my Desktop, nothing happens. In fact, -loadDataWithTypeIdentifier: forItemProviderCompletionHandler: is never called in that situation.
This seems like a privacy issue to me. I'm wondering if there's a plist key I need to set, or some security clearance I must request?