本文介绍了Apple Watch (WatchKit) 推送动作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在为 Apple Watch 开发一个应用程序,我想使用在启动事件中演示的用户推入屏幕(而不是点击)的操作.你知道这叫什么吗以及我如何访问它?
I am developing an app for the Apple Watch and I would like to use the action demonstrated at the launch event where the user pushes into the screen (rather than a tap). Do you know what this is called and how I can access this?
推荐答案
您只能在该操作上显示菜单.您在 WKInterfaceController 上使用 addMenuItem 方法.
You can only show a menu on that action. You use addMenuItem methods on WKInterfaceController.
这篇关于Apple Watch (WatchKit) 推送动作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!