Adds a custom button to the action sheet.
- iOS 2.0–8.3Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The title of the new button.
The index of the new button. Button indices start at
0 and increase in the order they are added.
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