Contents

init(url:options:)

Creates a handler to be used for performing requests on an image at the specified URL.

Declaration

init(url imageURL: URL, options: [VNImageOption : Any] = [:])

Parameters

  • imageURL:

    A URL pointing to the image to be used for performing the requests. The image must be in a format supported by Imageio. Image content is immutable.

  • options:

    An optional dictionary containing Vnimageoption keys to auxiliary image data.

See Also

Creating a Request Handler