Enumeration

WKMenuItemIcon

Template images that you can use for menus.

Declaration

typedef enum WKMenuItemIcon : NSInteger {
    ...
} WKMenuItemIcon;

Overview

Use these constants with the addMenuItemWithItemIcon:title:action: method to configure actions for your interface controller’s menu.

Topics

Constants

WKMenuItemIconAccept

The icon indicating an action to accept an event or item.

WKMenuItemIconAdd

The icon indicating an action for adding an item.

WKMenuItemIconBlock

The icon indicating an action to block or prevent something from happening.

WKMenuItemIconDecline

The icon indicating an action to decline or cancel an event.

WKMenuItemIconInfo

The icon indicating an action to retrieve more information.

WKMenuItemIconMaybe

The icon indicating an answer of maybe for an action.

WKMenuItemIconMore

The icon indicating that more actions or options are available.

WKMenuItemIconMute

The icon indicating an action to mute the sound.

WKMenuItemIconPause

The icon indicating an action to pause playback.

WKMenuItemIconPlay

The icon indicating an action to play some content.

WKMenuItemIconRepeat

The icon indicating that played content should repeat in a loop.

WKMenuItemIconResume

The icon indicating an action to resume playing some content.

WKMenuItemIconShare

The icon indicating an action to share content.

WKMenuItemIconShuffle

The icon indicating an action to shuffle content.

WKMenuItemIconSpeaker

The icon indicating audio output.

WKMenuItemIconTrash

The icon indicating an action to delete some content.

See Also

Configuring the Context Menu

- addMenuItemWithItemIcon:title:action:

Adds an action to the context menu using a system-provided icon.

- addMenuItemWithImageNamed:title:action:

Adds an action to the context menu using an existing image resource in your Watch app bundle.

- addMenuItemWithImage:title:action:

Adds an action to the context menu by using an image provided by your WatchKit extension.

- clearAllMenuItems

Removes all programmatically added actions from the context menu.