<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFocusHeading",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIFocusHeading"
  },
  "title" : "UIFocusHeading"
}
-->

# UIFocusHeading

The general type of an event.

```
struct UIFocusHeading
```

## Overview

You obtain the direction of the focus from the [`focusHeading`](/documentation/UIKit/UIFocusUpdateContext/focusHeading) property.

## Topics

### Constants

[`UIFocusHeadingNone`](/documentation/UIKit/UIFocusHeading/UIFocusHeadingNone)

No focus update heading.

[`UIFocusHeadingUp`](/documentation/UIKit/UIFocusHeading/up)

The focus update is heading in the up direction.

[`UIFocusHeadingDown`](/documentation/UIKit/UIFocusHeading/down)

The focus update is heading in the down direction.

[`UIFocusHeadingLeft`](/documentation/UIKit/UIFocusHeading/left)

The focus update is heading in the left direction.

[`UIFocusHeadingRight`](/documentation/UIKit/UIFocusHeading/right)

The focus update is heading in the right direction.

[`UIFocusHeadingNext`](/documentation/UIKit/UIFocusHeading/next)

The focus update is heading to the next item.

[`UIFocusHeadingPrevious`](/documentation/UIKit/UIFocusHeading/previous)

The focus update is heading to the previous item.

[`UIFocusHeadingFirst`](/documentation/UIKit/UIFocusHeading/first)

The focus update is heading to the first item.

[`UIFocusHeadingLast`](/documentation/UIKit/UIFocusHeading/last)

The focus update is heading to the last item.

### Initializers

[`init(rawValue:)`](/documentation/UIKit/UIFocusHeading/init(rawValue:))

Creates a focus heading structure with the specified raw value.

## Relationships

### Conforms To

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

---

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)