Base64ImageDataProvider

public struct Base64ImageDataProvider : ImageDataProvider

Represents an image data provider for loading image from a given Base64 encoded string.

Public Properties

Initializers

  • Creates an image data provider by supplying the Base64 encoded string.

    Declaration

    Swift

    public init(base64String: String, cacheKey: String)

    Parameters

    base64String

    The Base64 encoded string for an image.

    cacheKey

    The key is used for caching the image data. You need a different key for any different image.

Protocol Conforming