Initializer

init(completionHandler:)

Creates a new Vision request with an optional completion handler.

Declaration

init(completionHandler: VNRequestCompletionHandler? = nil)

Parameters

completionHandler

The block to invoke after the request has finished processing.

Discussion

The completion handler is executed on the same dispatch queue as the request being executed.

See Also

Initializing a Request

init()

Creates a new Vision request with no completion handler.

Beta Software

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