2017-12-27 463 views
0

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 
     }]; 
     } 
+0

checkCometChatUrl已棄用。請更新cometchat版本。或聯繫cometchat客戶支持。 – Signare

+0

我已經使用另一個波紋管方法,但不執行塊。 [cometChat登錄名:@「devcisner」密碼:@「123456」成功:^(NSDictionary * response){ NSLog(@「test」); }失敗:^(NSError *錯誤)NSLog(@「test」); }]; – user3091160

+0

您收到任何錯誤? – Signare

回答

0

@cometchat性反應.....

我們的團隊已經在看你的關心,我們認爲這是從網絡從iOS版SDK沒有結束。