ios - Apple Watch 上的推送通知

标签 ios iphone xcode apple-watch

我的应用程序正在等待 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 上的推送通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28971506/

相关文章:

xcode - swift : Share text through Twitter

ios - 具有周、日和月 View 的 iOS 日历

iphone - Objective-C:帮助 - 我的 xib 不会显示?

iphone - 将参数传递给 block ?

objective-c - Xcode 测试命令已禁用

ios - Xcode segue 有时在 Tableview 中工作

ios - 如何在 iOS 中实现具有自定义 View 的无限列表作为行?

ios - For Loop Swift 中的闭包完成

iphone - 比 NSNumberFormatterBehaviorDefault 更喜欢 NSNumberFormatterBehavior10_4 是个好主意吗?

iphone - 使用 App Delegate 访问通过 Storyboard 创建的 View Controller