Constants

The following constants are available globally.

  • Optimal frame cache size of FLAnimatedImage during initializer. (1.0.11 version later) This value will help you set optimalFrameCacheSize arg of FLAnimatedImage initializer after image load. Defaults to 0.

    Declaration

    Objective-C

    extern SDWebImageContextOption _Nonnull const SDWebImageContextOptimalFrameCacheSize

    Swift

    static let optimalFrameCacheSize: SDWebImageContextOption
  • Predrawing control of FLAnimatedImage during initializer. (1.0.11 version later) This value will help you set predrawingEnabled arg of FLAnimatedImage initializer after image load. Defaults to YES.

    Declaration

    Objective-C

    extern SDWebImageContextOption _Nonnull const SDWebImageContextPredrawingEnabled

    Swift

    static let predrawingEnabled: SDWebImageContextOption