Class

UIAccessibilityLocationDescriptor

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

Declaration

class UIAccessibilityLocationDescriptor : NSObject

Topics

Initializing the Descriptor

init(attributedName: NSAttributedString, point: CGPoint, in: UIView)

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

init(name: String, point: CGPoint, in: UIView)

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

init(name: String, view: UIView)

Initializes a new accessibility location descriptor with a specified view’s accessibilityActivationPoint value.

Getting the Descriptor Information

var name: String

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

var attributedName: NSAttributedString

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

var point: CGPoint

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?

Returns the view associated with the accessibility location descriptor.

Relationships

Inherits From

Conforms To