UIPickerViewAccessibilityDelegate Protocol Reference
| Conforms to | |
| Framework | /System/Library/Frameworks/UIKit.framework |
| Availability | Available in iOS 4.0 and later. |
| Declared in | UIAccessibilityAdditions.h |
Overview
The UIPickerViewAccessibilityDelegate protocol defines methods you can implement to provide accessibility information for individual components of a picker view.
Instance Methods
pickerView:accessibilityHintForComponent:
Returns a hint that describes the result of performing an action on the picker view component.
Return Value
A brief description, in a localized string, of the result of performing an action on the picker view component.
Discussion
Implement this optional method to ensure that the accessibility element representing the picker view provides an appropriate hint for each component. For in-depth information on how to create an appropriate hint, see “Guidelines for Creating Hints” in Accessibility Programming Guide for iOS.
Availability
- Available in iOS 4.0 and later.
Declared In
UIAccessibilityAdditions.hpickerView:accessibilityLabelForComponent:
Returns a label that identifies the picker view component.
Return Value
A succinct label, in a localized string, that identifies the picker view component.
Discussion
Implement this optional method to ensure that the accessibility element representing the picker view provides an appropriate label for each component. For in-depth information on how to create an appropriate label, see “Crafting Useful Labels and Hints” in Accessibility Programming Guide for iOS.
Availability
- Available in iOS 4.0 and later.
Declared In
UIAccessibilityAdditions.h© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-05-18)