requestDocument(_:)
Presents a sheet to read a mobile document and returns the relevant response.
Declaration
@discardableResult final func requestDocument<Request>(_ request: Request) async throws -> Request.Response where Request : MobileDocumentRequestParameters
- request:
The mobile document request.
Mentioned in
Return Value
A Response if the request was successful.
Discussion
Call this method to begin requesting data contained in a mobile document. This method displays a system-provided sheet with instructions on what the mobile document holder needs to do. This UI remains onscreen until the system reads the person’s mobile document, you cancel the task, or an error occurs.