I'm using SFSClient2X API for iOS. Everything's ok in Simulator 5.0. But when i run in actual device (Ipad 2, iOS 5.0.1), it got crash everytime when i do connect to server. Any suggestion? Thank so much!
Code: Select all
if(![client1 isConnected]){
client1 = [[SmartFox2XClient alloc] initSmartFoxWithDebugMode:YES delegate:self];
[client1 connect:txtIP.text port:[txtPort.text intValue]];
}