简体   繁体   English

在Apple Watch上推送通知

[英]Push Notifications on Apple Watch

My app is waiting for review by Apple to be released and there is no setting to support Apple Watch inside my app. 我的应用程序正在等待Apple的评论发布,并且我的应用程序中没有支持Apple Watch的设置。 My question is: Is the notifications which come to device in which my app is installed will be automatically displayed also on Apple Watch without making any update/change for my app (Like adding Apple Watch as target)? 我的问题是:安装了我的应用程序的设备的通知是否会自动显示在Apple Watch上,而不会对我的应用程序进行任何更新/更改(例如添加Apple Watch作为目标)? If so, will push notification actions of my iOS app also be available (and functional of course) on Apple Watch? 如果是这样,我的iOS应用程序的推送通知操作是否也可以在Apple Watch上使用(当然功能正常)?

Your notifications will show up on the Apple Watch automatically: 您的通知将自动显示在Apple Watch上:

If your iOS app supports local or remote notifications, Apple Watch displays those notifications at appropriate times. 如果您的iOS应用程序支持本地或远程通知,Apple Watch会在适当的时间显示这些通知。 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. 当您的应用程序的本地或远程通知之一到达用户的iPhone时,iOS会决定是在iPhone上还是在Apple Watch上显示该通知。

Official reference: Apple Watch Programming Guide - Notification Essentials 官方参考: Apple Watch Programming Guide - Notification Essentials

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM