简体   繁体   中英

iOS push notification iOS (device to device)

我使用APNS和提供程序进行了推送通知,但我不想使用提供程序,而是需要在iOS本身中进行提供程序工作。是否可以在设备之间发送和接收推送通知(不使用提供程序)?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM