Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to delete temp files and cache of other apps programmatically?

I have gone through a lot questions regarding cleaning of temp files and cache programmatically and the answer that I got was No its not possible since the apps are in sand box mode we can't access content of one app from other except for some scenarios where we have read permission.But recently I got to see one app which is removing temporary files of other apps. It is live and approved by apple.

Below is the screen shot of the alert that it gives when user asks for Deleting Temp Files.

So my question is that is deleting Temp files and cache of other apps is possible programmatically now or is there any particular device location from where we can clear the temp-files or cache of all the apps.I am confused between What I see (the cleaning app) and what I read that its not possible (the previous stack overflow questions and blogs). Some valuable links and comments are appreciated.

like image 746
Imran Avatar asked Oct 31 '22 17:10

Imran


1 Answers

While this app probably uses a technique that over-damands disk space in order to force iOS to delete temp files system wide and in other apps, if it was noticed by the reviewer it would have been rejected by the appstore. It is further likely that it will be removed from sale at a later time. I have had such things happen with apps that i developed which 'bend the rules'. I would not recommend investing any development time into apps that Apple are highly likely to reject or remove from sale.

like image 167
Zigglzworth Avatar answered Nov 15 '22 07:11

Zigglzworth