<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPointerAccessory/arrow(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So18UIPointerAccessoryC5UIKitE5arrowyABXDAbCE8PositionVFZ"
  },
  "title" : "arrow(_:)"
}
-->

# arrow(_:)

Creates a pointer accessory with an arrow shape at the specified position.

```
@MainActor @preconcurrency class func arrow(_ position: UIPointerAccessory.Position) -> Self
```

## Parameters

`position`

One of the available [`UIPointerAccessory.Position`](/documentation/UIKit/UIPointerAccessory/Position-swift.struct) positions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)