Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 332 Bytes

File metadata and controls

8 lines (6 loc) · 332 Bytes

#SDWebImagePrefetcher memory issue

SDImageCache saves images cache in memory by default. If you downloaded lots of images, the app will crash because of low memory. To solve this issue, we can set shouldCacheImagesInMemory to No

[SDImageCache sharedImageCache].shouldCacheImagesInMemory = NO;