Constants

The following constants are available globally.

  • The scheme when identifing the URL is Photos URL

    Declaration

    Objective-C

    extern NSString *const _Nonnull SDWebImagePhotosScheme
  • Specify to use the exact size of image instead of original pixel size. This is the default value if you don’t specify any targetSize.

    Declaration

    Objective-C

    extern const CGSize SDWebImagePhotosPixelSize
  • Specify to use the exact size of image instead of original point size. The scale is from the custom scale factor, or using the device scale factor if not provide.

    Declaration

    Objective-C

    extern const CGSize SDWebImagePhotosPointSize
  • Because Photos Framework progressBlock does not contains the file size, only the progress. See PHAssetImageProgressHandler. This value is used to represent the exceptedSize, and the receivedSize is calculated by multiplying with the progress value.

    Declaration

    Objective-C

    extern const int64_t SDWebImagePhotosProgressExpectedSize