Reputation: 1363
I got a lot of support requests from my Mac App Store apps describing drag & drop photo from Apple's app "Photos"(what a xxxx name they are using as an app!) to my app appears impossible under OS X El Capitan. That was ok in iPhoto ages.
The sandbox settings of my apps are all YES to these entitlements: com.apple.security.assets.movies.read-write com.apple.security.assets.pictures.read-write com.apple.security.files.user-selected.read-write
What I have to do is asking user drag & drop photos to their desktop first then drag & drop again to my app.
Anyone got this kind of problem for your third party apps and how can we fix it in OUR upgrade?
Upvotes: 2
Views: 667
Reputation: 3649
I created a sample project to demonstrate how you can do it here:
https://github.com/x43x61x69/Promised-files-Example
Upvotes: 0
Reputation: 25246
Currently the Photos app uses File Promises when dragging files. (There is talk that this maybe will be changed because very few app handle file promises.)
You find more information about this in Drag and Drop Programming.
For dropping promised files on to application icon in Dock see my answer here.
Upvotes: 3