Did you try this method?
Using the above, I was able to customize the filename for all exports. However, I didn’t manage to set a filename that depends on the item I’m exporting. But maybe it solves your specific problem.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: