Ich habe den Code:Benutzerverzeichnis Icon Swift
do {
try manager.createDirectory(atPath: appDir!.appendingPathComponent(path).path, withIntermediateDirectories: true, attributes: nil)
} catch {
print("Error: \(error)")
}
Wie füge ich ein benutzerdefiniertes Symbol in das Verzeichnis (wie Dropbox, Creative Cloud, etc.)? Füge ich es als Attribut hinzu?
Suchen Sie es selbst. https://stackoverflow.com/search?q=%5Bosx%5D+folder+icon –