<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPActionSheetTemplate/init(title:message:actions:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPActionSheetTemplate(im)initWithTitle:message:actions:"
  },
  "title" : "init(title:message:actions:)"
}
-->

# init(title:message:actions:)

Creates an action sheet template.

```
init(title: String?, message: String?, actions: [CPAlertAction])
```

## Parameters

`title`

The title of the action sheet.

`message`

A descriptive message providing details about the reason for displaying the action sheet.

`actions`

A list of actions available on the action sheet. The array must contain at least one action.

## Return Value

A newly initialized action sheet template.

---

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)