ipad apps run in mac, how to drag file from Finder to app?

I has run my ipad app in mac using Xcode11. And my app using drag and drop feature, it work when it runs in ipad, it means I can drag images from safari successfully. But when I runs in mac, when I try to drag a image from finder to my app, it not works, no delegate is called when I drag a image to my app. Does anyone knows how can I make it work in mac? Or is there any way to upload mac local file to my ipad app?

Replies

I'm experiencing a similar issue with URLs. My table view on iPadOS accepts drags from Safari in split screen. However, dragging into the same table view on macOS build (via Catalyst) doesn't have the drop behavior.