Conforms to | |
Framework | /System/Library/Frameworks/UIKit.framework |
Availability | Available in iOS 4.0 and later. |
Declared in | UIAccessibilityAdditions.h |
The UIPickerViewAccessibilityDelegate
protocol defines methods you can implement to provide accessibility information for individual components of a picker view.
Returns a hint that describes the result of performing an action on the picker view component.
- (NSString *)pickerView:(UIPickerView *)pickerView accessibilityHintForComponent:(NSInteger)component
A brief description, in a localized string, of the result of performing an action on the picker view component.
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.
UIAccessibilityAdditions.h
Returns a label that identifies the picker view component.
- (NSString *)pickerView:(UIPickerView *)pickerView accessibilityLabelForComponent:(NSInteger)component
A succinct label, in a localized string, that identifies the picker view component.
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.
UIAccessibilityAdditions.h
Last updated: 2010-05-18