Update UIDragPreview during DragInteraction

Hey,


during my drag, I need to update the UIDragPreview of the dragged item depending on it's location. I'm currently doing that by setting a new previewProvider each time the preview needs to be updated. When doing this, the current preview gets scaled down a little bit and the new one scales up, which looks a bit weird.


Is there a better way to update the DragPreview? Or is there at least a way to get rid of the scaling?


Best,
Klemens

Replies

I don't suppose you got an answer for this? It appears that no-one helps out on these forums and StackOverflow doesn't have anything on Drag and Drop yet.

Have you tried setting the prefersFullSizePreview on the proposal? proposal.prefersFullSizePreview = true