Contents

init(title:message:buttons:)

Creates an action sheet with the provided buttons.

Declaration

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

Parameters

  • title:

    The title of the action sheet.

  • message:

    The message to display in the body of the action sheet.

  • buttons:

    The buttons to show in the action sheet.