I have an iOS application that imports files from an email application. I noticed that as soon as I finish with it, it places the imported file in Documents / Inbox.
Should my application delete these files or does the OS end up costing to clean them?
if so, how? I tried:
[[NSFileManager defaultManager] removeItemAtPath:[self.url path] error:nil];
However, it does not reference the file in the inbox, although self.url is the correct path to my import file.
ios objective-c iphone xcode ipad
ngb
source share