Display iPhone local notification in Apple Watch

萝らか妹 提交于 2019-12-21 22:25:07

问题


I'm trying to display local notifications in Apple Watch.

The implementation is done but I don't know how to pass local notifications to Apple Watch. How can I do this?


回答1:


If your iOS app supports local or remote notifications, Apple Watch displays those notifications at appropriate times.

iOS it self decide to pass the notification to Apple Watch or show on iPhone,

As you said the implementation is done so let the iOS handle it. and at this time you have to do nothing to pass it to Watch you can see the Apple documentation for more clarification.

You can see here




回答2:


iOS takes care of notifications. If your iPhone is unlocked, you get notifications on your iPhone, instead of your Apple Watch.

If your iPhone is locked or asleep, and your Apple Watch is unlocked and on your wrist, you get notifications on your Apple Watch.

Read this https://support.apple.com/en-in/HT204791



来源:https://stackoverflow.com/questions/28832911/display-iphone-local-notification-in-apple-watch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!