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屋!