- Home /
How do you create a subfolder inside persistentDataPath in iOS?
I am trying to create a subfolder inside Application.persistentDataPath in iOS.
I am using the System.IO.Directory.CreateDirectory(path) method but I am getting the following error in Xcode:
"UnauthorizedAccessException: Access to the path... is denied."
Really appreciate the help. Thanks!
I found the problem. For some reason, iOS does not allow creating a directory with the name: "Inbox". This folder is reserved for Document Types that are loaded into the Application.
Your answer
Follow this Question
Related Questions
Javascript command for taking a screenshot then saving it to a folder directory?? 3 Answers
Persistent data path changes every time a new version of the IOS app is generated 1 Answer
Directory.createDirectory creates files instead of directory in iOS 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers