如何创建真正的 APN 服务器以及如何使用 APN 服务器 iPhone 测试应用程序?

Gop*_*ath 5 iphone apple-push-notifications ios

作为一名 iOS 开发者。我知道在我们的项目中以编程方式实施 APN。但是,我假设我们正在从 APN 服务器接收 APN 消息。我不知道how we are hosting the the APN message? How to create real APN Server for us?我从谷歌搜索了很多,

http://blog.serverdensity.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/
http://www.anima-entertainment.de/iphone-编程如何制作苹果推送通知服务使用 php
http://samvermette.com/145

这些是我访问过以了解创建 APN 服务器的信息。但是,我无法理解为 APN 创建实际服务器。任何人都可以please help me to create actual APN Server and host message in our server。还有how we can test the APN from real APN server?是否可以?请帮我。提前致谢。

dan*_*anh 5

Apple 提供了与手机进行通信的生产和测试服务器(沙箱)。您的工作是获取您的应用用户的设备 ID(经过他们的许可),然后联系苹果向他们发送消息。这份工作被称为“提供者”,你可以建造它,或者现在——多亏了几个新的初创公司——租用它。

我还没有尝试过任何服务,但是如果您发现自己动手的方法太复杂,并且只想看到一些消息到达您的测试应用程序,那么这似乎是一件合理的事情。我认为大多数人都有免费套餐可以试用。 这是我使用谷歌找到的第一个链接