Displays an action sheet that originates from the specified bar button item.
- iOS 3.2–8.3Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The bar button item from which the action sheet originates.
YESto animate the presentation of the action sheet or
NOto present it immediately without any animation effects.
On iPad, this method presents the action sheet in a popover and adds the toolbar that owns the button to the popover’s list of passthrough views. Thus, taps in the toolbar result in the action methods of the corresponding toolbar items being called. If you want the popover to be dismissed when a different toolbar item is tapped, you must implement that behavior in your action handler methods.