位于:Twilio IP消息系统:iOS消息客户端API中的[客户端句柄通知]的要点是什么?
我建立一个twilio IP消息应用程序,并不能解构功能的正常使用。该文档是神秘和例子
https://github.com/twilio/ip-demo-ios/search?utf8=%E2%9C%93&q=handlenotification
不说清楚无论是。
位于:Twilio IP消息系统:iOS消息客户端API中的[客户端句柄通知]的要点是什么?
我建立一个twilio IP消息应用程序,并不能解构功能的正常使用。该文档是神秘和例子
https://github.com/twilio/ip-demo-ios/search?utf8=%E2%9C%93&q=handlenotification
不说清楚无论是。
Twilio开发者传道这里。
当您的应用程序收到来自APNS的传入通知时,应使用handleNotification
方法。这是一个便利功能,可以解析通知并创建所有相关的SDK对象。
在演示中,您可以看到notifications are received by the AppDelegate(您可以根据需要将不同的通知指向应用程序的不同部分),passed on to the IPMessagingManager here,最后passed into the IPMessagingClient via handleNotification
in the part you pointed out。
让我知道这是否有帮助。