---
title: "cameraCapture(sceneConfiguration:)"
framework: UIKit
role: symbol
role_heading: Type Method
platforms: [iOS 27.1+, iPadOS 27.1+]
path: "uikit/uisceneaccessory/cameracapture(sceneconfiguration:)"
---

# cameraCapture(sceneConfiguration:)

Creates a scene accessory for presenting content during camera capture.

## Declaration

```swift
class func cameraCapture(sceneConfiguration: UISceneConfiguration) -> Self
```

## Parameters

- `sceneConfiguration`: A scene configuration value with a delegate type defined for it.

## Discussion

Discussion The content may be presented while the app is in the foreground and has an active camera capture session. The system determines whether and where to present it. The content can be interactive.

## See Also

### Creating a camera capture accessory

- [cameraCapture(sceneConfiguration:userInfo:)](uikit/uisceneaccessory/cameracapture(sceneconfiguration:userinfo:).md)
