Quickblox位置示例iOS应用程序无法正常工作

时间:2015-05-26 06:17:43

标签: ios xcode quickblox

我正在尝试检查Quickblox位置示例iOS应用是如何工作的。但是我在错误原因中遇到空值错误。请参阅以下请求方法,我收到错误。

[QBRequest geoDataWithFilter:filter page:[QBGeneralResponsePage responsePageWithCurrentPage:1 perPage:70]
                        successBlock:^(QBResponse *response, NSArray *objects, QBGeneralResponsePage *page) {
                            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                                SSLAppDelegate* myDelegate = (((SSLAppDelegate *)[UIApplication sharedApplication].delegate));
                                [self presentViewController:myDelegate.tabBarController animated:YES completion:nil];
                            });
                            [[SSLDataManager instance] saveCheckins:objects];
        } errorBlock:^(QBResponse *response) {
            NSLog(@"Error = %@", response.error);
        }];

其中response.error值为Error reason:(null)。

我正在寻求你的帮助。感谢你。

0 个答案:

没有答案