1

I'm using PFImageViews a lot in my app, since I need its caching ability... The thing is, that my app now takes 108.9MBs of storage! Is there any way to free up this storage?

Sotiris Kaniras
  • 520
  • 1
  • 12
  • 30

2 Answers2

2

So, in order to delete all cached images, we simply have to call:

PFFile.clearAllCachedDataInBackground()
Sotiris Kaniras
  • 520
  • 1
  • 12
  • 30
1

To manually clear the Parse query cache you can call (In Swift):

query.clearCachedResult()
dylankbuckley
  • 1,507
  • 1
  • 13
  • 21
  • Thanks, but I'm not talking about PFQuery caching... I'm talking about image caching, using the PFImageView subclass... Do you have any idea, if it's possible to clear that cache? – Sotiris Kaniras Sep 19 '16 at 22:47