Contents

init(image:)

Creates and returns an image object using the specified UIKit image.

Declaration

convenience init(image: UIImage)

Parameters

  • image:

    The image object. This parameter must not be nil.

Return Value

An initialized WKImage object.

Discussion

Use this method when you already have a UIKit image object and want to use it in your picker.

See Also

Creating Image Objects