Answers for "print what inside Document directory 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 what inside Document directory swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language