iPhone / iPad lock button cause disconnection

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

crosskid
Posts: 36
Joined: 30 Oct 2012, 07:56

Re: iPhone / iPad lock button cause disconnection

Post by crosskid »

A51Integrated, i wanted to ask something. is the lock button on iOS device really cause disconnection? can you explain the difference between the lock button (why causing disconnection) and home button / swap the app view (why not causing disconnection)

and mmilen / A51Integrated, i need some help in reconnection, can you post the code regarding smartfox reconnection in the method either applicationWillEnterForeground, applicationWillResignActive, applicationDidBecomeActive, applicationWillTerminate, onConnectionLost or onConnectionRetry? or maybe some links of your post in this forum. or the basic idea explanation between that methods is fine
i'm still a little confused what to do after the app goes on connection lost to reconnect again, sometimes smartfox connected and sometimes it isn't. thanks

also, is the reconnection include "connect" and "login"? or it is just "connect"? i mean not only regain connection on to the smartfox, but login back to the last state too
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Re: iPhone / iPad lock button cause disconnection

Post by mmilen »

BAD NETWORK INTERFACE !!!
Post Reply