<分区>
我有代码:
do {
try manager.createDirectory(atPath: appDir!.appendingPathComponent(path).path, withIntermediateDirectories: true, attributes: nil)
} catch {
print("Error: \(error)")
}
如何将自定义图标添加到目录(如 Dropbox、Creative Cloud 等)?我是否将其添加为属性?