<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPickerViewAccessibilityDelegate/pickerView(_:accessibilityAttributedHintForComponent:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIPickerViewAccessibilityDelegate(im)pickerView:accessibilityAttributedHintForComponent:"
  },
  "title" : "pickerView(_:accessibilityAttributedHintForComponent:)"
}
-->

# pickerView(_:accessibilityAttributedHintForComponent:)

Returns an attributed string that describes the result of performing an action on the specified component.

```
optional func pickerView(_ pickerView: UIPickerView, accessibilityAttributedHintForComponent component: Int) -> NSAttributedString?
```

## Parameters

`pickerView`

The picker view object.

`component`

The component in the picker view that requires a hint.

## Return Value

The localized attributed string that describes the results of performing an action on the specified component.

## Discussion

Implement this optional method to ensure that the accessibility element representing the picker view provides an appropriate hint for each component. Your attributed string may include the [`UIAccessibilitySpeechAttributeLanguage`](/documentation/UIKit/UIAccessibilitySpeechAttributeLanguage) attribute, which lets you use different language synthesizers for different parts of the string. The system prefers this method over the [`pickerView(_:accessibilityHintForComponent:)`](/documentation/UIKit/UIPickerViewAccessibilityDelegate/pickerView(_:accessibilityHintForComponent:)) method.

For in-depth information on how to create an appropriate hint, see [Guidelines for Creating Hints](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html#//apple_ref/doc/uid/TP40008785-CH102-SW11).

---

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)