nsfilemanager
iphone copying folder from bundle to documents
I\'m having the hardest time getting this to work. I\'m trying to copy a folder from my bundle to the documents directory.[详细]
2023-02-14 18:54 分类:问答iOS: Saving audio file visible in iTunes Library
I am trying to save a mp3 file into a folder where the file could be visible in iTunes Library. I read somewhere that if I save it on NSDocumentDirectory, it would work, but I had no luck on trying th[详细]
2023-02-13 05:19 分类:问答What is the difference between copyItemAtPath:toPath:error and copyItemAtURL:toURL:error: of NSFileManager?
I want to copy a file at path A to path B, in case it exists at B I want it to be overwritten and I want to use one of the mentioned methods but which one is the one I should use?[详细]
2023-02-12 00:34 分类:问答NSFileManager createDirectoryAtPath EXC_BAD_ACCESS
I have been working at this one for quite some time now but can\'t seem to resolve it. I have a core data application that also supports document sharing, therefore I\'m trying to create a directory i[详细]
2023-02-09 05:02 分类:问答replaceItemAtURL fails without error on iOS but works fine on OSX
I\'m implementing a manually-triggered migration process for a CoreData-based app, and after the migration completes successfully, I\'m trying to move the migrated DB back over the top of the original[详细]
2023-02-09 02:58 分类:问答how to read a file from folder without giving filename , in objective c
I am moving a file to a folder ( file is stored in other folder), I am moving it by giving the file name, but I want to move all files, which r stored in a folder to some other folder.[详细]
2023-02-08 23:59 分类:问答Validating a file is what it claims to be by it's file extension
Is there a way to validate a file is what it claims to be according to it\'s file extension? I have a large number of files that my application copies to a remote server. Before doing each file copy[详细]
2023-02-08 09:18 分类:问答Creating a directory seems to have a slight delay
In Cocoa, I\'ve tried using -[NSFileManager createDirectoryAtPath:withIntermediateDirectories:attributes:error:] to create several directories in a row, making sure to create them in hierarchical orde[详细]
2023-02-07 15:55 分类:问答File Attribute NSFileModificationDate returns time 5 hours after expected time in iPad application
Hello I\'m using the following NSFileManager method in an iPad application: - (NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)error[详细]
2023-02-07 03:09 分类:问答Save audio stream into file with MPMoviePlayerController
I\'ve some trouble wit开发者_开发百科h audio streaming using MPMoviePlayerController. I want to know if it\'s possible to save the data streaming info to a file while MPMoviePlayer is playing that fil[详细]
2023-02-06 07:06 分类:问答