WatchKit - 检测力触摸和绕过上下文菜单
WatchKit - Detecting force touch and bypassing context menu
是否可以在用户执行强制触摸时不显示上下文菜单。而是以模态方式显示自定义界面控制器。
或者甚至可以通过编程检测力触摸。
无法检测到强制触摸。强制触摸只能显示菜单。
来自 https://devforums.apple.com/thread/254831?start=0&tstart=0
上的 Apple 开发布道者
There is no API to directly respond to a Force Touch. Performing a
Force Touch within a WatchKit app will display the menu (if there is
one) for the visible WKInterfaceController.
是否可以在用户执行强制触摸时不显示上下文菜单。而是以模态方式显示自定义界面控制器。
或者甚至可以通过编程检测力触摸。
无法检测到强制触摸。强制触摸只能显示菜单。
来自 https://devforums.apple.com/thread/254831?start=0&tstart=0
上的 Apple 开发布道者There is no API to directly respond to a Force Touch. Performing a Force Touch within a WatchKit app will display the menu (if there is one) for the visible WKInterfaceController.