Creates a direct-access data provider that uses a URL to supply data.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
A CFURL object for the URL that you want to read the data from.
A new data provider or
NULL if the data from the URL could not be accessed. You are responsible for releasing this object using
You use this function to create a direct-access data provider that supplies data from a URL. When you supply Core Graphics with a direct-access data provider, Core Graphics obtains data from your program in a single entire block.