nsfilemanager
Get list of files in directory on server iPhone
I am trying to get a list of the available fil开发者_高级运维es when from a server and be able to look at the names of the files that are available. I was looking at using the NSFileManager, but it do[详细]
2023-04-01 09:00 分类:问答Getting more details from NSFileManager contentsOfDirectoryAtPath
Is there a way to get more details (size,date created,etc) about a specific item when using contentsOfDirectoryAtPath or a similar method?[详细]
2023-04-01 01:35 分类:问答Why is NSFileManager not working?
I\'ve written some code to copy a file (dbtemplate.sqlite) from the application package to the library. However, no file shows up in the library and every time I start the application it logs the text[详细]
2023-03-29 09:53 分类:问答NSFileManager Bug?
Can you find a bug in this l开发者_开发百科ine of code? It returns nil!! The app is completely sandboxed but Downloads folder access is enabled.[详细]
2023-03-27 20:20 分类:问答iOS application update problem with files in documents directory
Oddest issue, thought I would see if anyone had run into this before. We have an iPad application that stores PDF files in the documents directory.All goes great, we can open the PDF\'s with CGPDFDoc[详细]
2023-03-27 19:38 分类:问答Objective-C: Programmatically set file privileges to current user
I working on a program that mana开发者_运维技巧ges documents. One of the things my app does, is download document from the internet and open them. This documents I download need to be opened with Read[详细]
2023-03-27 10:46 分类:问答How do I add Data Protection Class Entitlements to my iOS 5 app
I have been all over the web including Apple\'s dev site but I can\'t find any instruction on how to s开发者_运维技巧et an app\'s /Documents directory attribute NSFileProtectionKey = NSFileProtectionC[详细]
2023-03-27 10:21 分类:问答Sandboxing and directory listing
A common task I do consists reading a directory content using NSFileManager:co开发者_如何转开发ntentsOfDirectoryAtPath but enabling sandboxing in Lion this becomes impossible.[详细]
2023-03-26 03:04 分类:问答NSFileManager moveItemAtPath issue
I am using NSFileManager to move items from one file path to another file path but it results in an exception.But i dont get exception every time, the exception is raised only after second or third ti[详细]
2023-03-25 12:32 分类:问答How to copy contents of a directory into a another directory programmatically in an iPhone app
I have 2 directories which are created programmatically, say DIR1 & DIR2 and DIR1 have some XML files now I need to copy the contents of DIR! into DIR2 without 开发者_高级运维giving the Contents n[详细]
2023-03-24 23:07 分类:问答