Select file or directory in SwiftUI in an AppKit App

后端 未结 0 1661
南旧
南旧 2021-01-04 01:52

How can I display a file dialogue in SwiftUI to choose a directory or file.

I think using a NSViewRepresentable to wrap a NSOpenPanel will not work, as it expects a N

相关标签:
回答
  • 消灭零回复
提交回复
热议问题