There is an a stackOverflow thread about this already
Another limitation to be aware of is that you can't define a previewItemTitle when using the SwiftUI .quickLook modifier. You can only supply a URL, and QuickLook will use the lastPathComponent of that URL as the title by default.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: