---
title: "sendResponse(_:)"
framework: IdentityDocumentServicesUI
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+]
path: "identitydocumentservicesui/iso18013mobiledocumentrequestcontext/sendresponse(_:)"
---

# sendResponse(_:)

Builds and sends an ISO 18013 mobile document response.

## Declaration

```swift
func sendResponse(_ responseHandler: @escaping @Sendable (IdentityDocumentWebPresentmentRawRequest) async throws -> ISO18013MobileDocumentResponse) async throws
```

## Parameters

- `responseHandler`: A handler you use to build the response. This handler provides the raw web presentment request, and returns the ISO 18013 mobile document response.
