0

How to keep alive connect to server via socket when app in background mode

sony
  • 730
  • 2
  • 9
  • 19

1 Answers1

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