I am looking at a camera tutorial for IOS and the
Have you tried searching "CGDataProviderCreateWithCFData" in the Apple's API reference page?
Creates a data provider that reads from a CFData object.
In Swift 3,
CGDataProviderCreateWithCFData is imported as an initializer of
CGDataProvider and use it as:
let dataProvider = CGDataProvider(data: imageData as CFData)
imageData as a
You can use it with