0

我有以下情况:

  1. iPhoneA 和 iPhoneB:sinch 客户端初始化并启用消息支持和推送支持
  2. iPhoneA 的应用程序已关闭
  3. iPhoneB 向 iPhoneA 发送消息。
  4. iPhoneA 正确接收通知(出现横幅)。所以 iPhoneA通过图标打开应用程序

如何检测并捕获收到的通知?

谢谢

4

1 回答 1

1

这一切都在 Apple 文档中,在Handling Local and Remote Notifications

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/IPhoneOSClientImp.html

Sinch 文档中还有一些关于如何将您进入 Sinch 的对象的内容:

https://www.sinch.com/tutorials/ios-instant-messaging-using-sinchservice/#4.%20push%20with%20sinchservice

于 2015-10-07T17:54:29.660 回答