Xcode推送通知:用于生产模式的APNS服务器

Miw*_*iwi 7 xcode notifications push apple-push-notifications

我正在通过推送通知实现我的第一个应用程序.我已经完成了Ray Wanderlich教程之后的所有调试 ,一切正常.

既然我即将继续提交,我想知道我必须在生产模式下为"实时"服务器插入哪些参数而不是

gateway.sandbox.push.apple.com 2195
Run Code Online (Sandbox Code Playgroud)

希望明确

小智 22

我认为端口是相同的,只有主机不同,它是gateway.push.apple.com.

生产环境的二进制接口可通过gateway.push.apple.com,端口2195获得; 开发环境的二进制接口可通过gateway.sandbox.push.apple.com,端口2195获得.

资源