Apple Watch(WatchKit)推动作 [英] Apple Watch (WatchKit) push action

查看:90
本文介绍了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)推动作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆