<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIAccessibilityLocationDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIAccessibilityLocationDescriptor"
  },
  "title" : "UIAccessibilityLocationDescriptor"
}
-->

# UIAccessibilityLocationDescriptor

An accessibility descriptor for a specific geometric point of interest within a view, for use by assistive apps.

```
@MainActor class UIAccessibilityLocationDescriptor
```

## Topics

### Initializing the descriptor

[`init(attributedName: NSAttributedString, point: CGPoint, in: UIView)`](/documentation/UIKit/UIAccessibilityLocationDescriptor/init(attributedName:point:in:))

Initializes a new accessibility location descriptor using an attributed string and a specified point in a view.

[`convenience init(name: String, point: CGPoint, in: UIView)`](/documentation/UIKit/UIAccessibilityLocationDescriptor/init(name:point:in:))

Initializes a new accessibility location descriptor with a specified point in a view.

[`convenience init(name: String, view: UIView)`](/documentation/UIKit/UIAccessibilityLocationDescriptor/init(name:view:))

Initializes a new accessibility location descriptor with a specified view’s activation point.

### Getting the descriptor information

[`var name: String`](/documentation/UIKit/UIAccessibilityLocationDescriptor/name)

Returns the plaintext string representation of the name for the accessibility location descriptor.

[`var attributedName: NSAttributedString`](/documentation/UIKit/UIAccessibilityLocationDescriptor/attributedName)

Returns the attributed string representation of the name for the accessibility location descriptor.

[`var point: CGPoint`](/documentation/UIKit/UIAccessibilityLocationDescriptor/point)

Returns the geometric point of interest for the accessibility location descriptor within its associated view and in the coordinate space of the view.

[`var view: UIView?`](/documentation/UIKit/UIAccessibilityLocationDescriptor/view)

Returns the view associated with the accessibility location descriptor.

### Initializers

[`init(attributedName: NSAttributedString, point: CGPoint, inView: UIView)`](/documentation/UIKit/UIAccessibilityLocationDescriptor/init(attributedName:point:inView:))

[`convenience init(name: String, point: CGPoint, inView: UIView)`](/documentation/UIKit/UIAccessibilityLocationDescriptor/init(name:point:inView:))

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)