Skip to content

Instantly share code, notes, and snippets.

@dmytro-anokhin
Created January 1, 2021 16:11
Show Gist options
  • Save dmytro-anokhin/b463bed79e60c6f6fab2d067cedf8627 to your computer and use it in GitHub Desktop.
Save dmytro-anokhin/b463bed79e60c6f6fab2d067cedf8627 to your computer and use it in GitHub Desktop.
URLImageService.shared.cleanup() // Cleanup expired images
URLImageService.shared.defaultOptions.maxPixelSize = CGSize(width: 1000.0, height: 1000.0) // Limit image size to 1000x1000px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment