---
title: arrowDirection
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uimenucontroller/arrowdirection-swift.property
---

# arrowDirection

The direction the arrow of the editing menu is pointing.

## Declaration

```swift
var arrowDirection: UIMenuController.ArrowDirection { get set }
```

## Discussion

Discussion You can set the direction editing-menu arrow points by assigning a UIMenuController.ArrowDirection enum constant to this property. The default behavior (UIMenuController.ArrowDirection.default) is to point up or down at the object of focus based on its location on the screen.

## See Also

### Positioning the menu

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