Search code examples
buttonwatchkit

Adding event to a WatchKit item of a table


I have created a table in which the items contains some groups and some labels. I would like that when the user tap on the item, I receive an action. How can I do it? Is it possible to add an invisible button covering all the area of an item of the table?

Here is what ii is inside the table


Solution

  • Button can contain groups (you have to choose this option in the editor) so the problem is solved! I don't understand why this answer is rated negatively. It works!