Detailed explanation of the use demo of carrier pigeon push in IOS

Recently, I used carrier pigeons to push in the knowledge of push, mainly because carrier pigeons are used in the background

Push is pushed by a third party, that is, a broadcast receiver is built at the client. When the server sends a message, it is sent to the carrier pigeon. The carrier pigeon sends it again and the broadcast receiver accepts it;

The functions I have implemented are relatively simple. When the app is running, a pop-up window will be displayed on the home page to display the pushed messages; If the app is not running and the service is not destroyed, the default notification is displayed

How to display the pop-up window on the home page: when the broadcast receiver receives the message I want, use the observer mode to send a message after receiving the message

Official demo connection: http://xg.qq.com/xg/help/ctr_help/download

Address of modified Demo: http://download.csdn.net/detail/qq_29774291/9635735

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>