How to clear cache of a specific application in iOS?

Are there any ways/methods for clearing application cache in iOS? (I am not asking about Is there a quicker way to clear cache on Safari mobile? )

In Android OS, after taking application manager and then selecting a specific app, there's an option to clear cache.

I would like to know if there is any way (like in Android) to clear cache other than closing the application and reopening the same multiple times or uninstalling the application and then reinstalling the same.


Solution 1:

If you have installed the app directly from Xcode you can remove the data from the app in the xcode device manager.

  1. Connect iPhone with an USB cable to your MAC
  2. Launch Xcode
  3. Press Shift+Cmd+2
  4. Click on your iPhone in the list
  5. Click on your app in the installed apps list,
  6. Click the "Gear" icon
  7. Click download container
  8. Select where to store the container
  9. Open the container remove the unwanted files,
  10. In Xcode device manager click replace container (Below download container)

Then the cache will be reset.

Solution 2:

There's no user accessible way to delete the cache of an app in iOS.

However, there should be no need for you to do so as iOS automatically manages the cache. For example, it will delete the cached files if the disk is filled up and disk space is needed for an update.

The real question here is why you would want to clear the cache? - Are you trying to solve a specific problem you have with an app?