1
WatchKit在这里,并为程序员提供了一个非常有限的代码。检测WKInterfaceButton是否连续按下?
我的问题:
我如何可以检测,如果用户连续按下WKInterfaceButton?
- 选择器... forControlEvents ..不受支持。
- 触摸开始...不支持。
感谢您的时间!
最好的问候,
WatchKit在这里,并为程序员提供了一个非常有限的代码。检测WKInterfaceButton是否连续按下?
我的问题:
我如何可以检测,如果用户连续按下WKInterfaceButton?
感谢您的时间!
最好的问候,
随着WatchKit
为watchOS 1有没有办法来检测上的按钮,长按。长按被认为是force touch
,并且如果你已经实现了一个,则会弹出force touch menu
。
WWDC 2015年刚刚结束,和苹果公司宣布watchOS 2,里面有很多的新的令人兴奋的功能。长按是不是其中之一(但据我所知),但WatchKit
现在是少得多的限制。看看这里的一些新功能:https://developer.apple.com/library/prerelease/watchos/documentation/General/Conceptual/AppleWatch2TransitionGuide/index.html