I'm working on an iOS app and have just started implementing the amazing cache plugin SDWebImage. The thing I'm stuck at now is that I'm trying to implement a cache with a "limited size" of 200 or 500 MB and I've found the function setMaxCacheSize and I'm entering the descried number. When I print the value with NSLog in the app and simulator it shows correctly BUT the thing is that my cache still can go beyond this size... It's like the code is ignoring the max size and just keeps adding files without removing to make space..?
Is it something that I'm missing? Something that needs to be called on to make it autoClean memory when the limit is exceeded?
Thanks in advance!