【发布时间】:2011-11-21 17:06:04
【问题描述】:
我尝试使用 Urban Airship 向设备发送推送通知。 我注册要推送的设备: 代码:
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
我在 Urban Airship 上创建了一个应用程序,上传了证书密钥并尝试发送广播,但没有成功。 只有当我手动将设备令牌添加到 Urban Airship 时,我才成功发送并获得了广播。 我的问题是 - 我可以使用 Urban Airship 在不注册设备令牌的情况下发送推送通知吗?如何?如果没有,我如何从应用程序自动注册设备令牌(而不是使用 curl 代码)? 除了 Apple 的基本 registerForRemoteNotificationTypes: 方法之外,还有其他推送提供程序吗?
谢谢!
【问题讨论】: