Components

Action Sheet(iOS)

Modal prompt for making an important choice.

Summary

Action sheets on iOS are implemented with the built-in UIKit component UIAlertController with preferredStyle: .actionSheet.

Note that on iPhones, action sheets slide up from the bottom of the screen, while on iPads they are displayed as popovers.

iOS action sheet

Public API

See Apple documentation on UIAlertController for the public API.