updateVisibleMenuPosition(animated:)
Updates the position of the currently visible menu with an option to animate the action.
Declaration
func updateVisibleMenuPosition(animated: Bool)Parameters
- animated:
YESto animate the transition to the new position;NOto make the transition immediate.
Discussion
You use this method to update the location of the menu. This method calls editMenuInteraction(_:targetRectFor:) and updates the position of the menu using the position the delegate returns. The method has no effect if no menu is present.