WatchKit在这里,它为程序员提供了非常有限的代码。
我的问题是:
如何检测用户是否连续按下WKInterfaceButton?
耽误您时间,实在对不起!
诚挚的问候,
发布于 2015-06-08 22:02:48
使用WatchKit for watchOS 1,无法检测按钮上的长按压。长新闻媒体被认为是一个force touch,如果您已经实现了force touch menu,就会打开它。
2015年WWDC刚刚结束,苹果公司宣布了watchOS 2,它有许多令人兴奋的新功能。Long press并不是其中之一(据我所知),但是WatchKit现在没有那么有限了。查看这里的一些新特性:https://developer.apple.com/library/prerelease/watchos/documentation/General/Conceptual/AppleWatch2TransitionGuide/index.html
https://stackoverflow.com/questions/30713700
复制相似问题