Answers for "how to save a file to file document in swift"

0

save file with % swift

func getDocumentsDirectory() -> URL {
    let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
    return paths[0]
}
Posted by: Guest on October-24-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language