---
title: "init(title:message:actions:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uisceneclosureconfirmation/init(title:message:actions:)"
---

# init(title:message:actions:)

Creates a scene closure confirmation with the provided parameters.

## Declaration

```swift
convenience init(title: String?, message: String?, actions: [UIAlertAction])
```

## Parameters

- `title`: The title of the confirmation. If not provided, defaults to a generic localized title.
- `message`: Optional descriptive text that provides more details.
- `actions`: Actions to be included in the confirmation dialog. Close and Cancel are shown by default.
