Xcode 推送通知 : APNS server for production mode

标签 xcode notifications push apple-push-notifications

我正在实现我的第一个带有推送通知的应用程序。我已经按照 Ray Wanderlich Tutorial 完成了所有调试工作
一切正常。

现在我要继续提交了,我想知道我必须在生产模式下为“实时”服务器插入哪些参数,而不是

gateway.sandbox.push.apple.com 2195

希望清楚

最佳答案

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

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.



Source

关于Xcode 推送通知 : APNS server for production mode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9399356/

相关文章:

ios - 添加单元测试时 Mach-O 链接器错误 - XCode

ios - 如何使用 Swift 为 UICollectionView 单元格设置动画成为一个圆圈?

php - C2DM 和 GCM 有什么区别

java - 实时更新值?

ios - 在 ipad/iphone 上设置不同的启动屏幕界面

objective-c - ios 的 mapkit 中的 didupdateuserlocation 方法?

android - java.lang.SecurityException : Requires VIBRATE permission on Jelly Bean 4. 2

ruby-on-rails - 如何发送通知用户收到私有(private)消息

css - 将页脚始终保持在 Canvas 导航下方

git - merge 了两个 Git 分支,推送到服务器上,现在如何取消 merge 它们