---
title: menuFrame
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uimenucontroller/menuframe
---

# menuFrame

Returns the frame of the editing menu.

## Declaration

```swift
var menuFrame: CGRect { get }
```

## Discussion

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

- [arrowDirection](uikit/uimenucontroller/arrowdirection-swift.property.md)
- [UIMenuController.ArrowDirection](uikit/uimenucontroller/arrowdirection-swift.enum.md)
- [setTargetRect(_:in:)](uikit/uimenucontroller/settargetrect(_:in:).md)
