Answers for "swift document directory"

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 "swift document directory"

Code answers related to "Swift"

Browse Popular Code Answers by Language