ios – 在Apple Watch上推送通知

ios – 在Apple Watch上推送通知,第1张

概述我的应用程序正在等待Apple的评论发布,并且我的应用程序中没有支持Apple Watch的设置.我的问题是:安装了我的应用程序的设备的通知是否会自动显示在Apple Watch上,而不会对我的应用程序进行任何更新/更改(例如添加Apple Watch作为目标)?如果是这样,我的iOS应用程序的推送通知 *** 作是否也可以在Apple Watch上使用(当然功能正常)? 您的通知将自动显示在Apple 我的应用程序正在等待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

总结

以上是内存溢出为你收集整理的ios – 在Apple Watch上推送通知全部内容,希望文章能够帮你解决ios – 在Apple Watch上推送通知所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1017975.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-23
下一篇2022-05-23

发表评论

登录后才能评论

评论列表(0条)

    保存