If we upload the certificate and set up the code according to aurora’s developer documentation, we will actually find that receiving a push message is not so far-fetched as we thought. But soon you will find that I have received the message, but I click the message to open the software, and then there is no, why I see other people’s software can jump to different pages. At the same time, when I open the software, I can print the information I get at the bottom, but why does my software not respond? So we’ll solve these problems one at a time. # # #, first of all, we first solve the problem of software using the software in the process of use, we send a notification, to be able to print a message but will not have prompted, so we can judge the state of the software, is to run or closed to distinguish treatment, if it is in the operation of the software, we can make a prompt dialog box, and then further to operate.

After iOS7, we receive push messages in this function, in this function to determine the running status of the application, if it’s early, we send a notification, and then we receive the notification on the home page of the application and do something about it.

In this way, no matter which interface you are in when the program runs, when you receive information, the software will pop up a prompt, prompting you to receive a notice, and display part of the new notice, click view, according to the corresponding field with the background agreement to jump to a different page. We can’t jump in the appdelegate, and we can also use the notification method when the app is not running. This method can be implemented in other third parties such as friend push. #### Other methods When the program is not running, we want to enter different pages, we can also use the local storage as shown in Figure 1, and then judge whether the neural is empty on the home page, and then take out the corresponding value to judge according to the sent content, and jump to the random page. #### storage method problem local storage, remember after the end of the jump, clean up the local storage, otherwise the next time to open the software will jump to the last notice page, the reason you know, ha ha.

Summary: About push, three articles respectively introduce the principle, certificate and page jump, hoping to help you solve the problems in the application of push. If you have any other comments, please leave a message.