I'm new to Quickblox for iOS and trying to login user to QBChat but I'm receiving unrecognized selector.
Here is the code:
if ([result isKindOfClass:[QBAAuthSessionCreationResult class]]) {
QBUUser *currentUser=[QBUUser user];
currentUser.login=@"test0123";
currentUser.password=@"test0123";
if (result.success) {
// Session is created...
//Login to QuickBlox Chat
[[QBChat instance] setDelegate: self];
[[QBChat instance] loginWithUser: currentUser];
}
}
I am receiving following log:
-[QBChat loginWithUser:] -> Connecting to Chat, hostName: chat.quickblox.com
-[QBChat loginWithUser:] -> Chat server endpoint: chat.quickblox.com, User JID:xxxxxxxx
-[QBDDXMLElement attributeFloatValueForName:withDefaultValue:]: unrecognized selector sent to instance 0x17442b0e0.