Class

WKPickerItem

A single item in a picker interface.

Declaration

@interface WKPickerItem : NSObject

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:

  • 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

contentImage

The image to display for the item.

title

The text to display for the item.

accessoryImage

A small image to display next to the title string.

caption

A caption for the item’s content.

Relationships

Inherits From

Conforms To

See Also

Managing the Picker Contents

- setItems:

Sets the list of items displayed by the picker.

- setSelectedItemIndex:

Selects the specified item in the list.

- setCoordinatedAnimations:

Sets the interface objects that should coordinate their own animations with the picker.