我有一个嵌套的 WKInterfaceGroup
与 WKInterfaceLabel
在这样的范围内:
看起来像这样:
the orange highlight indicates which part of the value the user is currently editing. (Backgroundcolor of WKInterfaceGroup)
我正在尝试找到一种在突出显示的左/右之间切换并遇到问题的方法
touchesBegan
的东西。 我的问题是:
how can i let the user `tap' to select which of the two groups he wants to actively edit?
最佳答案
您可以改用 WKInterfaceButton。按钮允许您使用组而不是标签来显示其内容。然后, Hook 到按钮的操作方法。
关于ios - WatchKit 检测标签/组上的点击/触摸,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29877523/