A storage type for an action sheet presentation.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
Framework
- Swift
UI
Declaration
struct ActionSheet
A storage type for an action sheet presentation.
SDKs
Framework
struct ActionSheet
init(title: Text, message: Text?, buttons: [Action Sheet .Button])
Creates an action sheet with the provided buttons.
typealias Action Sheet .Button
A button representing an operation of an action sheet presentation.
struct Alert
A container for an alert presentation.