But you'll find that if you explicitly call provider.loadPreviewImage(...) your previewImageHandler will actually get called.
However, even though the previewImageHandler can provide a perfectly good image, even after it returns the new data SwiftUI seems to ingore it and continues to use the image from the original view! :(
I too would like an answer to the question: Why does SwiftUI ignore attempts to add a custom drag image?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: