Contents

init(UIImage:)

Creates an image object from the specified UIKit image.

Declaration

convenience init(UIImage image: UIImage)
convenience init(uiImage image: UIImage)

Parameters

  • image:

    A UIKit image that contains the image data to use.

Return Value

An image object that contains the specified UIKit image, or nil if that image is invalid.

See Also

Creating an Image Object