i have some doubt based on APN as server side.i had used third part tool as server side as parse but i dint know how to do as own server,could any one clarify?
Thanks advance
An excellent tutorial for the same -> https://www.raywenderlich.com/123862/push-notifications-tutorial
Uses PHP & Swift.
How does the backend work --> (Already explained in the tutorial)
You have to create the PushNotification certificate from developer portal, when you create that you also have a private key attached. They together form the PEM, which marks authorisation.
Post that, you simply call the apple push servers to send a notification.
This is different for development and distribution though.