getting strange error in SFS iPhone API

Post here all your questions related with the SmartFoxServer iPhone API

Moderators: Lapo, Bax

rahulvyas
Posts: 19
Joined: 05 Jul 2010, 05:23
Location: Jaipur,Rajasthan
Contact:

getting strange error in SFS iPhone API

Postby rahulvyas » 19 Oct 2010, 03:48

Hello,

I've been using SFS API from last few months. Today I am getting a error something like this "No handlers found for action:leaveRoom" when I was Debugging my application. Could you please tell me which method am I missing? I think the leaveRoom method is "onUserLeaveRoom". I have already implemented this. But I think there is another method so please tell me the exact method/function for iPhone api to remove that error.
Thanks & Regards,
Rahul Vyas,
iPhone Developer.
sasoh
Posts: 1
Joined: 28 Oct 2010, 11:54

Postby sasoh » 28 Oct 2010, 12:04

Hello, I've stumbled upon the same problem, the way to fix it is to go to the 109 line of the INFSmartFoxSysHandler.m file and edit the _handlersTable key/value pair from

Code: Select all

@"handleLeaveRoom:", @"leaveRoom:"
to

Code: Select all

@"handleLeaveRoom:", @"leaveRoom",

and your onRoomLeft delegate function will be evoked.
rahulvyas
Posts: 19
Joined: 05 Jul 2010, 05:23
Location: Jaipur,Rajasthan
Contact:

Postby rahulvyas » 25 Feb 2011, 12:36

Thanks you very much sasoh
Thanks & Regards,

Rahul Vyas,

iPhone Developer.

Return to “iPhone Objective-C API”

Who is online

Users browsing this forum: No registered users and 10 guests