Adds an action to the context menu by using an image provided by your WatchKit extension.
- watchOS 2.0+
The template image to be used for the action. Only the alpha channel of the image is used. This parameter must not be
nil. For information about the dimensions for menu images, see Apple Watch Human Interface Guidelines.
The title string to be displayed underneath the image. Title strings should be reasonably short. Any text that cannot be displayed is truncated. This parameter must not be
nilor an empty string.
The action method to be called when the action is tapped. The method must be defined on the current interface controller object. This parameter must not be
Use this method to append an action to the interface controller’s context menu. If the menu already has four items, additional items are ignored.