skip to Main Content

Xcode – Saving a file inside app's main directory

txt file under App.app/here.text ? Currently I found NSSearchPathForDirectoriesInDomains NSArray* dirs = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] error:NULL]; but it places under documents. Can i save it under under Appname.app/here https://www.alphansotech.com/wp-content/uploads/2015/11/iosDirectory.png in what level i can list read files?…

VIEW QUESTION
Back To Top
Search