Is there any way (programmatically) that i can find the location of “Resource” folder. I want to create a new file in it at run time.
Is there any way (programmatically) that i can find the location of Resource folder.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To get path to resource folder use:
However you won’t be able to write anything there in run-time. New files should be saved to 1 of the following directories (depending of their usage):
Documents directory – persists between app launches and backuped by iTunes
Caches directory – persists between app launches but not backuped by iTunes – you should place there files that can be easily restored by your program to improve device backup time
Temporary directory – may not persist between app launches