<!--
{
  "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(_:accessibilityAttributedLabelForComponent:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIPickerViewAccessibilityDelegate(im)pickerView:accessibilityAttributedLabelForComponent:"
  },
  "title" : "pickerView(_:accessibilityAttributedLabelForComponent:)"
}
-->

# pickerView(_:accessibilityAttributedLabelForComponent:)

Returns an attributed string that identifies the picker view component.

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

## Parameters

`pickerView`

The picker view object.

`component`

The component in the picker view that requires a label.

## Return Value

The attributed string that identifies the picker view component

## Discussion

Use this method to provide descriptive information for the components of a picker view. 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(_:accessibilityLabelForComponent:)`](/documentation/UIKit/UIPickerViewAccessibilityDelegate/pickerView(_:accessibilityLabelForComponent:)) method. For in-depth information on how to create an appropriate descriptive string, see [Crafting Useful Labels and Hints](https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html#//apple_ref/doc/uid/TP40008785-CH102-SW6).

---

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)