How to restart a session without the user sending app to background?
If you would like to restart a session without having the user minimize the app to the background, you can do it like so:
- Call [Appsee finishSession:NO upload:YES]
- Start an NSTimer that fires after 2-3 seconds
- On timer tick, call this line: [Appsee forceNewSession]
- Call Appsee.finishSession(false, true); in step 1
- Call Appsee.forceNewSession(); in step 3
Did you find this article helpful?