setMenuVisible(_:animated:)
Shows or hides the editing menu, optionally animating the action.
Declaration
func setMenuVisible(_ menuVisible: Bool, animated: Bool)Parameters
Discussion
Before showing the menu, be sure to position it relative to the selection. See setTargetRect(_:in:) for details. If you do not set the target rect before displaying the menu, it appears at screen coordinates (0.0, 0.0).