Xcode推送通知:APNS服务器用于生产模式 [英] Xcode Push Notification: APNS server for production mode
问题描述
我正在通过推送通知实现我的第一个应用程序.我已经完成了 Ray Wanderlich教程 一切正常.
I'm realizing my first app with push notification. I've done all the debugging following the Ray Wanderlich Tutorial and everything works.
现在我要继续提交,我想知道我必须为生产模式而不是
Now that I'm about to proceed with the submission I would like to know what parameters I have to insert for the "live" server in production mode instead of
gateway.sandbox.push.apple.com 2195
希望清楚
推荐答案
我认为端口是相同的,只是主机是不同的,它是gateway.push.apple.com
.
I think the port is the same, only the host is different, it's gateway.push.apple.com
.
生产环境的二进制接口可通过gateway.push.apple.com端口2195获得;开发环境的二进制接口可通过gateway.sandbox.push.apple.com端口2195获得.
The binary interface of the production environment is available through gateway.push.apple.com, port 2195; the binary interface of the development environment is available through gateway.sandbox.push.apple.com, port 2195.
这篇关于Xcode推送通知:APNS服务器用于生产模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!