Returns an attributed string that identifies the picker view component.
- iOS 11.0+
The picker view object.
The component in the picker view that requires a label.
The attributed string that identifies the picker view component
Use this method to provide descriptive information for the components of a picker view. Your attributed string may include the
accessibility attribute, which lets you use different language synthesizers for different parts of the string. The system prefers this method over the
picker method. For in-depth information on how to create an appropriate descriptive string, see Crafting Useful Labels and Hints.