Answers for "print document directory path swift"

0

print document directory path swift

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

Code answers related to "print document directory path swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language