addButton(withTitle:)
Adds a custom button to the action sheet.
Declaration
func addButton(withTitle title: String?) -> IntParameters
- title:
The title of the new button.
Return Value
The index of the new button. Button indices start at 0 and increase in the order they are added.