---
title: "init(content:)"
framework: lockedcameracapture
role: symbol
role_heading: Initializer
path: "lockedcameracapture/lockedcameracaptureuiscene/init(content:)"
---

# init(content:)

Creates a locked camera capture extension scene.

## Declaration

```swift
@MainActor init(content: @escaping (LockedCameraCaptureSession) -> Content)
```

## Parameters

- `content`: The content of the locked camera capture extension using a doc://com.apple.LockedCameraCapture/documentation/LockedCameraCapture/LockedCameraCaptureSession.
