我在这个主题上所能找到的只是提到FSMoveObjectToTrashSync
函数,现在是已弃用并且没有列出替代方案 https://developer.apple.com/documentation/coreservices/1566651-fsmoveobjecttotrashsync.
如何从 C 或 Objective-C 代码中做到这一点?
使用 NSFileManager:
https://developer.apple.com/documentation/foundation/nsfilemanager https://developer.apple.com/documentation/foundation/nsfilemanager
- 垃圾项目AtURL:结果项目URL:错误:
将项目移至垃圾箱。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)