Structure

ActionSheet

A storage type for an action sheet presentation.

Declaration

struct ActionSheet

Topics

Creating an Action Sheet

init(title: Text, message: Text?, buttons: [ActionSheet.Button])

Creates an action sheet with the provided buttons.

Specifying the Button Type

typealias ActionSheet.Button

A button representing an operation of an action sheet presentation.

See Also

Presentations

struct Alert

A container for an alert presentation.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software