iPhone 和 Apple Watch 之间的通知同步问题 [英] Notification syncing issue between iPhone and Apple watch
问题描述
我正在开发 iOS 应用程序,其中推送通知来自网络服务器.我通过添加新目标并制作新的配置文件并在 Xcode 中为 Apple watch 使用它们来在 Xcode 中进行 Apple Watch 配置.当我测试它时,通知有时会出现在 Apple Watch 上,有时会出现在 iPhone 上,但不会同时出现在两者上.任何一个帮助
I am working on iOS app in which push notifications comes from web server. I do Apple watch configuration in Xcode by adding new target and make new Provisioning Profiles and use them in Xcode for Apple watch. When i test it some times notification appear on Apple watch some times on iPhone not on both. Any one help
推荐答案
操作系统根据几个不同的因素确定将通知发送到哪个设备.主要是,手表只会在佩戴时收到通知——除非你关闭手腕检测——并且 iPhone 被锁定.
The OS determines which device to send the notification to based on a few different factors. Primarily, the Watch will only receive the notification if it is being worn – unless you turn off wrist detection – and the iPhone is locked.
这篇关于iPhone 和 Apple Watch 之间的通知同步问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!