cometchat方法无响应
问题描述:
checkCometChatUrl块不成功或失败时执行。我的代码是波纹管。cometchat方法无响应
#import <MessageSDKFramework/CometChat.h>
#import <MessageUI/MessageUI.h>
@interface LoginVC()<UITextFieldDelegate>
{
CometChat *cometChat;
}
@end
@implementation LoginVC
- (void)viewDidLoad{
[super viewDidLoad];
[cometChat checkCometChatUrl:@"https://cisner.com" success:^(NSDictionary *response) {
NSLog(@"%@", response);
//code not execute here
} failure:^(NSError *error) {
NSLog(@"%@", error.description);
//code not execute here
}];
}
答
@cometchat性反应.....
我们的团队已经在看你的关心,我们认为这是从网络从iOS版SDK没有结束。
checkCometChatUrl已弃用。请更新cometchat版本。或联系cometchat客户支持。 – Signare
我已经使用另一个波纹管方法,但不执行块。 [cometChat登录名:@“devcisner”密码:@“123456”成功:^(NSDictionary * response){ NSLog(@“test”); }失败:^(NSError *错误)NSLog(@“test”); }]; – user3091160
您收到任何错误? – Signare