In my application, i am trying to find all files of particular extension (like .pdf,开发者_开发问答 .txt, etc) that are stored in the device (either downloaded or transferred from system) and want to
on the iPhone I want to check, if a specific file (test.licence) on a website exsists. My approach (so far) was to download the file and check if it exists in my Documents directory. However, if the f
I have this code in a method called from applicationDidFinishLaunching. It works in the simulator, but crashes on the iPhone. There are about 1,600 2KB mp3 files being copied in this operation. If I t
I use NSData to persist an image in my application. I save the image like so (in my App Delegate): - (void)applicationWillTerminate:(UIApplication *)application
is the iPhone\'s filesystem or the use of NSFilemanager restricted to a开发者_如何学运维ny characters or is everything allowed (this is what I\'m currently assuming after doing some research). iPhone
Apparently, NSFileManager is unable to delete files created by mkstemp(). Here\'s some test code to demonstrate this:
I have a plist file in my resources group in xcode. I am trying to copy this into my documents directory on app launch. I am using the following code (taken from a sqlite tutorial):
I am working on an iPhone project in which I need save camera images to disk and filebut the code below fails:
I can\'t seem to find any documentation on this.Is there a limit to the number of characters that can be used in a filenam开发者_StackOverflow社区e and/or is there a restriction on what characters can
I\'m creating a folder to cache images inside Documents with my iPhone App.I want to be able to keep the size of this folder down to 1MB, so I need to to che开发者_Python百科ck the size in bytes of my