本文介绍了iPhone和Apple Watch之间的通知同步问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正在使用iOS应用程序,其中推送通知来自Web服务器.我通过添加新的目标并创建新的Provisioning Profiles在Xcode中进行Apple Watch配置,并在Apple Watch的Xcode中使用它们.当我测试它时,通知有时会在iPhone上同时出现在Apple Watch上,而不是同时出现在两者上.任何人帮助

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之间的通知同步问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 07:17