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
providerparameter provides the complete data set. Specifytrueif the data is complete orfalseif it isn’t.