export data in Documents outside sandbox in swift

The solution for “export data in Documents outside sandbox in swift” can be found here. The following code will assist you in solving the problem.

let path = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0].appendingPathComponent(“todos.txt”)

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in