---
title: "init(title:delegate:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:_:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uiactionsheet/init(title:delegate:cancelbuttontitle:destructivebuttontitle:otherbuttontitles:_:)"
---

# init(title:delegate:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:_:)

Creates an action sheet with the specified values.

## Declaration

```swift
@MainActor @preconcurrency convenience init(title: String?, delegate: (any UIActionSheetDelegate)?, cancelButtonTitle: String?, destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...)
```

## See Also

### Creating action sheets

- [init(title:delegate:cancelButtonTitle:destructiveButtonTitle:)](uikit/uiactionsheet/init(title:delegate:cancelbuttontitle:destructivebuttontitle:).md)
