Contents

WKPickerItem

A single item in a picker interface.

Declaration

class WKPickerItem

Overview

You create picker items yourself and assign them to a WKInterfacePicker object in your interface. For each item, you can specify a title string, an image, or both based on the style of the picker.

The style of the picker determines how you configure the items of that picker:

  • List. Items may be configured in one of two ways:

  • Specify an image in the contentImage property.

  • Specify text in the title property and an optional image in the accessoryImage property.

  • Stacked. Configure each item with an image in the contentImage property.

  • Image Sequence. Configure each item with an image in the contentImage property.

Topics

Setting the Picker Item’s Content

Initializers

See Also

Managing the Picker Contents