Initializes an image with the contents of an IOSurface.
- iOS 5.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
An image object initialized with the data from the IOSurface object.
An IOSurface object is a framebuffer object that is suitable for sharing across process boundaries. You can use it to allow your app to move complex image decompression and drawing logic into a separate process for the purpose of increasing security.
Initializing an Image
Initializes an image of infinite extent whose entire content is the specified color.
Initializes an image object with the specified UIKit image object.
Initializes an image object from the contents supplied by a CGLayer object.
Initializes an image object from the contents supplied by a CGLayer object, using the specified options.
A key for the image tiles size. The associated value is an
NSArray that contains
NSNumber objects for the dimensions of the image tiles requested from the image provider.
A key for data needed by the image provider. The associated value is an object that contains the needed data.