PWAds Class Reference

Inherits from NSObject
Declared in PWAds.h

+ setCacheByteLimit:

Set the maximum number of bytes allowed on disk before it starts evicting objects.

+ (void)setCacheByteLimit:(NSInteger)byteLimit

Parameters

byteLimit

The maximum number of bytes allowed on disk

Discussion

Set the maximum number of bytes allowed on disk before it starts evicting objects.

The default cache size limit is 50 MB. It can be set to 0, or any value betweem 50 MB to 2 GB. After reaching the limit, the least recently used item(s) will be evicted on background thread.

Declared In

PWAds.h