---
title: "init(content:)"
framework: TranslationUIProvider
role: symbol
role_heading: Initializer
platforms: [iOS 18.4+, iPadOS 18.4+, Mac Catalyst 18.4+]
path: "translationuiprovider/translationuiproviderselectedtextscene/init(content:)"
---

# init(content:)

Creates the scene to translate the user’s selected text, with the provided View content.

## Declaration

```swift
@MainActor @preconcurrency init(content: @escaping (any TranslationUIProviderContext) -> Content)
```

## Parameters

- `content`: The content the framework should your to initialize the scene.
