<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISceneClosureConfirmation/init(title:message:actions:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISceneClosureConfirmation(cm)confirmationWithTitle:message:actions:"
  },
  "title" : "init(title:message:actions:)"
}
-->

# init(title:message:actions:)

Creates a scene closure confirmation with the provided parameters.

```
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.

---

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)