show(from:)
Displays an action sheet that originates from the specified toolbar.
Declaration
func show(from view: UIToolbar)Parameters
- view:
The toolbar from which the action sheet originates.
Discussion
The appearance of the action sheet is animated.
On iPad, this method centers the action sheet in the middle of the screen. Generally, if you want to present an action sheet relative to a toolbar in an iPad application, you should use the show(from:animated:) method instead.