Instance Property

menuFrame

Returns the frame of the editing menu.

Declaration

var menuFrame: CGRect { get }

Discussion

The property value is the bounding rectangle of the menu in screen coordinates. The property has a value of CGRectZero if the menu is not visible. You can use this property to adjust any user-interface objects away from the menu after displaying the menu.

See Also

Positioning the Menu

var arrowDirection: UIMenuController.ArrowDirection

The direction the arrow of the editing menu is pointing.

enum UIMenuController.ArrowDirection

The direction the arrow of the editing menu is pointing.

func setTargetRect(CGRect, in: UIView)

Sets the area in a view above or below which the editing menu is positioned.

Deprecated