<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RoomPlan",
  "identifier" : "/documentation/RoomPlan/RoomCaptureViewDelegate/captureView(didPresent:error:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RoomPlan"
    ],
    "preciseIdentifier" : "s:8RoomPlan0A19CaptureViewDelegateP07captureD010didPresent5erroryAA08CapturedA0V_s5Error_pSgtF"
  },
  "title" : "captureView(didPresent:error:)"
}
-->

# captureView(didPresent:error:)

Provides the delegate with the processed scan results as the view presents them.

```
func captureView(didPresent processedResult: CapturedRoom, error: (any Error)?)
```

## Parameters

`processedResult`

A structure that provides detailed information about the dimensions and features of the scanned room.

`error`

An object that describes the problem when an error occurs; otherwise, `nil`.

## Discussion

The framework invokes this callback when your app returns `true` for [`captureView(shouldPresent:error:)`](/documentation/RoomPlan/RoomCaptureViewDelegate/captureView(shouldPresent:error:)).

With the `processedResult` argument, your app can alter the detailed captured room object or export it to a USDZ file.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)