Instance Method init With Data:
Initializes an image object with the supplied image data.
iOS 5.0+ macOS 10.4+ tvOS 9.0+ Mac Catalyst 13.0+ Beta Declaration - ( ) instancetype initWithData:( ) * NSData data;
The image data. The data you supply must be premultiplied.
The initialized image object, or
if the object could not be initialized.
nil See Also Initializing an Image - init With Color:
Initializes an image of infinite extent whose entire content is the specified color.
- init With Image:
Initializes an image object with the specified UIKit image object.
- init With CGLayer:
Initializes an image object from the contents supplied by a CGLayer object.
Deprecated - init With CGLayer: options:
Initializes an image object from the contents supplied by a CGLayer object, using the specified options.
Deprecated k CIImage Provider Tile Size
A key for the image tiles size. The associated value is an
objects for the dimensions of the image tiles requested from the image provider.
NSNumber k CIImage Provider User Info
A key for data needed by the image provider. The associated value is an object that contains the needed data.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software