【发布时间】:2015-05-23 01:46:49
【问题描述】:
每当我选择包含符号链接的路径时,NSOpenPanel 都会返回解析的路径。例如:
ln -s /Users/myuser/some/path/here /Users/myuser/mylink
现在我选择文件/Users/myuser/mylink/file.txt,但[[panel URLs] objectAtIndex:0] 是/Users/myuser/some/path/here/file.txt。
如何让 NSOpenPanel 返回我选择的内容(而不是解析符号链接)?
【问题讨论】: