---
title: "rawRequestsForWebPresentmentController(_:)"
framework: IdentityDocumentServicesUI
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, macOS 26.0+]
path: "identitydocumentservicesui/identitydocumentwebpresentmentcontrollerdelegate/rawrequestsforwebpresentmentcontroller(_:)"
---

# rawRequestsForWebPresentmentController(_:)

A method that allows the calling app to provide the incoming raw web presentment requests to the web presentment controller.

## Declaration

```swift
@MainActor func rawRequestsForWebPresentmentController(_ webPresentmentController: IdentityDocumentWebPresentmentController) async -> [IdentityDocumentWebPresentmentRawRequest]
```

## Parameters

- `webPresentmentController`: The active presentment controller.

## Return Value

Return Value A list of raw web presentment requests.

## Discussion

Discussion If this method is unimplemented, then an IdentityDocumentWebPresentmentError/invalidRequest is thrown from the web presentment controller.
