![]() I am still uncomfortable with this because I would be accessing a filesystem path whose location is not officially documented anywhere. Of course I can improve my app to cover this scenario, but I suspect that there will always be another border case that will leave me with an "unclean" Documents/Inbox folder.Ī preferrable solution (B) therefore would be to remove the Documents/Inbox folder at an appropriate time (e.g. If the user suspends the app during this interaction period, and the app then gets killed while it is in the background, the stale file will not be removed when the app starts up the next time. I am uncomfortable with this simple solution (A), however, because my app needs to interact with the user before it can finish processing and removing the file. After the application has processed the file, it obviously needs to remove the file from Documents/Inbox, otherwise the folder will continue to grow and waste storage on the device. ![]() When a file is passed into an iOS application by the document interaction system, a copy of the file is stored in the application bundle's Documents/Inbox folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |