Contents

caption

A caption for the item’s content.

Declaration

var caption: String? { get set }

Discussion

When the picker’s focus style includes a caption, the picker gets the text for that caption from this property. Captions are a way to identify the meaning of the item’s content. You can also assign the same caption to all of the items in a picker to identify the purpose of the picker itself.

See Also

Setting the Picker Item’s Content