My application does not accept drag and drop files on the Dock icons like other applications.
For example, the dock icon in Visual Studio for Mac accepts the file, but when I build and run the default project, it does not accept the drag and drop of the dock icon.
Perhaps I need to configure something in Xcode, but how can I do that?
Also, what kind of code should I write to receive the file path dragged and dropped to the dock icon in ViewController?

没有评论:
发表评论