iOS Question TCP Connection when Phone call is received & app is swapped

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

If I am using a TCP socket in my app and it's connected to a device, what would happen if the user gets a call or the user double presses the home button and swaps apps and then they re-open the app again ?

I am guessing the TCP socket will disconnect since Apple doesn't allow the connections to be open in the background and I would need to re-connect the socket again when the user re-opens the app again ?
 
Top