SDImageLinkLoader

@interface SDImageLinkLoader : NSObject

A Rich Link loader by using the LinkPresentation framework, load any URL’s rich link image, like Website URL, local file URL. See LinkPresentation framework description.

  • Shared loader instance.

    Declaration

    Objective-C

    @property (readonly, atomic, nonnull, class) SDImageLinkLoader *sharedLoader;

    Swift

    class var shared: SDImageLinkLoader { get }
  • The time interval after which the request automatically fails if it hasn’t already completed. Defaults to 30 seconds.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval timeout;

    Swift

    var timeout: Int32 { get set }
  • A Boolean value indicating whether to download subresources specified by the metadata. Defaults to YES.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL shouldFetchSubresources;

    Swift

    var shouldFetchSubresources: Int32 { get set }