加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – 在Apple Watch上推送通知

发布时间:2020-12-14 17:46:45 所属栏目:百科 来源:网络整理
导读:我的应用程序正在等待Apple的评论发布,并且我的应用程序中没有支持Apple Watch的设置.我的问题是:安装了我的应用程序的设备的通知是否会自动显示在Apple Watch上,而不会对我的应用程序进行任何更新/更改(例如添加Apple Watch作为目标)?如果是这样,我的iOS
我的应用程序正在等待Apple的评论发布,并且我的应用程序中没有支持Apple Watch的设置.我的问题是:安装了我的应用程序的设备的通知是否会自动显示在Apple Watch上,而不会对我的应用程序进行任何更新/更改(例如添加Apple Watch作为目标)?如果是这样,我的iOS应用程序的推送通知操作是否也可以在Apple Watch上使用(当然功能正常)?

解决方法

您的通知将自动显示在Apple Watch上:

If your iOS app supports local or remote notifications,Apple Watch displays those notifications at appropriate times. When one of your app’s local or remote notification arrives on the user’s iPhone,iOS decides whether to display that notification on the iPhone or on Apple Watch.

官方参考:Apple Watch Programming Guide – Notification Essentials

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读