Q:

iOS push notification iOS (device to device)

I did push notification using APNS and provider but i don't want to use the provider instead i need to do provider work in iOS itself Is it possible to send and receive the push notification from device to device (without using provider)?

A:

I guess you always need a server in order to trigger the push notification. You can't directly initiate the push message from iOS app to APNS.
In case you are using third party provider for sending message to APNS and want to get rid of it, you can write a web service in your own server which will communicate with APNS to send a push notification to your iOS app.

