UIActionSheet
UIActionSheet was a class in Apple's UIKit framework for iOS that presented a user with a set of actions. It was typically used for actions related to a specific piece of content or task, such as sharing an item, deleting data, or choosing an option from a list. The action sheet would appear from the bottom of the screen, overlaying the current view, and present a list of buttons representing the available actions. It also had the option to include a destructive action, usually styled in red, and a cancel button to dismiss the sheet.
Developers would configure a UIActionSheet by providing a title, a destructive button title, and a list of
It's important to note that UIActionSheet has been deprecated since iOS 8. Apple introduced UIAlertController as