2016-03-15 73 views

回答

1

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

让我知道这是否有帮助。