如何将推送通知从一个iPhone设备发送到另一个?

如何将推送通知从一个iPhone设备发送到另一个?

问题描述:

是否可以将推送通知从一个iPhone设备发送到另一个iPhone设备?

Is it possible to send Push Notification from one iPhone Device to another?

如果可以,那么请您告诉我如何完成此操作?

If yes, then can you please show me how it can be done?

否,您不能直接在两个设备之间发送推送通知。推送通知是从您拥有或由其他人托管的专用服务器发送的。

No, you can not send Push Notifications directly between two devices. Push notifications are sent from a dedicated server that you own or have hosted by somebody else.

如果您想将推送通知从一部手机触发到另一部手机,则需要实现一个系统,第一个电话将消息发送到您的服务器,然后该服务器将通知发送到另一个电话。

If you want to trigger a push notification from one phone to another then you need to implement a system where the first phone sends a message to your server which then sends the notification to the other phone.

从用户的角度来看,它将像直接发送消息一样工作,但从技术上讲,它要复杂一些。

From a users perspective it will work like they send it directly, but technically it's a bit more complicated.