Contents

CPActionSheetTemplate

A template that displays a modal action sheet.

Declaration

@MainActor class CPActionSheetTemplate

Overview

You must present action sheets modally by calling the presentTemplate(_:animated:completion:) method available on your app’s instance of CPInterfaceController. The user dismisses the action sheet by pressing a button, or you can dismiss it by calling the interface controller’s dismissTemplate(animated:completion:) method.

Topics

Creating an Action Sheet Template

Getting Action Sheet Template Information

See Also

Actions and Alerts