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

我正在通过推送通知实现我的第一个应用程序.我已经完成了 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

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...