Assuming my purpose is to achieve: the first ten Sina news pushed on my ipad.
So here's the "Push Server", refers to the Sina server?
That is the message I want to be the source of which server, which is called "Push Server"?
Reply:
Mechanisms IOS Push: 1, registered client to the Apple APNS, APNS told that I need to Push functionality while APNS back to the client a DeviceToken (unique identifier); 2, the client to the server APNS returned DeviceToken (so-called The Push server, build their own), the server preserved; 3, when a message needs to inform the client, the server uses the Push certificates (need to apply on the Apple developer site) and DeviceToken send a message to the APNS, the program sends a message You can use Java, PHP, Objective-C language, etc.; 4, APNS Push server receives the message, it will forward the message based on DeviceToken to the appropriate device.
Push the server that you are here, you can build your own, but you have to know when to trigger the server, try to give the client a message. Sina server can not be sure, because Sina server of your control, it does not give you such a service.
Reply:
Push the server refers to your server, if you want the first ten Sina news pushed to ipad, firstly you need to catch the Sina news on your server, then the server sends you a push.
Of course, if you are Sina, your server should push that Sina's it. . .
Reply:
Oh That I put a message on Sina crawl into my server, and then my server then forwards the message to my ipad via APNS.
What is the message that I want to push Apple so there wondering if they will be able to know ah. Why Apple's message must be sent to the server, and then forwards it to my ipad?
Reply:
Understand this, but this is not what I want to push the message that Apple knew of it over there?
No comments:
Post a Comment