我的应用程序正在等待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