开发者社区> 问答> 正文

移动推送绑定账号失败

移动推送能够收到广播,但是要实现个推,绑定账号总是失败是什么原因呢?
[CloudPushSDK bindAccount:@"1234567890" withCallback:^(BOOL success) {

        if (success) {
            UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"ok" message:nil delegate:self cancelButtonTitle:nil otherButtonTitles:@"appdelegate", nil];
            [alertView show];
        }else{
            UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"no" message:nil delegate:self cancelButtonTitle:nil otherButtonTitles:@"appdelegate", nil];
            [alertView show];
        }
    }];

展开
收起
ios-k 2016-06-06 11:15:10 2963 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载