Contents

CGImageSourceUpdateDataProvider(_:_:_:)

Updates an incremental image source with a new data provider.

Declaration

func CGImageSourceUpdateDataProvider(_ isrc: CGImageSource, _ provider: CGDataProvider, _ final: Bool)

Parameters

  • isrc:

    The image source to modify.

  • provider:

    The new data provider. The new data provider must provide all the previous data supplied to the image source and any additional new data.

  • final:

    A Boolean value that indicates whether the provider parameter provides the complete data set. Specify true if the data is complete or false if it isn’t.

See Also

Updating an Incremental Image