How to keep alive connect to server via socket when app in background mode
Asked
Active
Viewed 716 times
0
-
1Please refer the link http://stackoverflow.com/questions/11032745/how-to-handle-socket-connections-events-when-app-is-in-background – Ramkrishna Sharma Jan 06 '17 at 07:12
1 Answers
0
setKeepAliveTimeout
is deprecated and works on Xcode 7.3, if app is compiled against iOS9 SDK. If you compile app on the latest Xcode (8.3.3 at the moment) it will not work. I tried to create the framework with setKeepAliveTimeout
on the Xcode 7.3 (against iOS9 SDK) and use it in the app on the Xcode 8.3 (iOS10 SDK) - it didn't work too.

Alex0072005
- 151
- 1
- 2