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

# captureView(shouldPresent:error:)

Indicates that the app receives and displays post-processed scan results when the scan session stops.

```
func captureView(shouldPresent roomDataForProcessing: CapturedRoomData, error: (any Error)?) -> Bool
```

## Parameters

`roomDataForProcessing`

A data object that contains the raw scan results.

`error`

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

## Return Value

This implementation always returns `true`.

## Discussion

If your app’s room-capture view [`delegate`](/documentation/RoomPlan/RoomCaptureView/delegate) doesn’t implement [`captureView(shouldPresent:error:)`](/documentation/RoomPlan/RoomCaptureViewDelegate/captureView(shouldPresent:error:)), then
the framework calls this default implementation.

---

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)