Contents

updateVisibleMenuPosition(animated:)

Updates the position of the currently visible menu with an option to animate the action.

Declaration

func updateVisibleMenuPosition(animated: Bool)

Parameters

  • animated:

    YES to animate the transition to the new position; NO to 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.

See Also

Managing edit menu interactions