Returns a string that identifies the picker view component.
- iOS 4.0+
- Mac Catalyst 13.0+
The picker view object.
The component in the picker view that requires a label.
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. The system prefers the
picker method over this one. For in-depth information on how to create an appropriate label, see Crafting Useful Labels and Hints.