0

I am trying to save a custom class to cache, so that it doesn't have to be downloaded every time the vc is getting called. My problem is though that the cache gets cleared when I open a different vc, so that when going back to the "old" vc no objects are stored in the cache anymore :(

I even tried: cache.evictsObjectsWithDiscardedContent = false

Any help is appreciated!

Niklas M.
  • 1
  • 5

0 Answers0