I have found if you implement a WKInterfaceTable
, the row controller contains a WKInterfaceGroup
, and if you add two WKInterfaceButton
s to the group, one of which is disabled (or hidden), and you tap down on this button, it will highlight the entire row as if you were touching down on both buttons. This does not occur with a regular WKInterfaceGroup
outside of a table. How can one disable this highlight behavior for the entire group in the table row?
Here is an example project that demonstrates the undesired behavior. B2 is disabled, yet touching down on it highlights the entire group. Note that the project should be opened with Xcode 8, as it's a watchOS 3 app.
Select tableCell in storyboard
remove checkmark from Selectable item
Now you are able to single-tap on button in a row. If you need to get index of tapped button, see my answer here.