I am developing an iOS app which needs to receive regular data from the server at specific period of time (every 5 seconds).
Apple gives developers some choices for background working.
I convinced that
There is no solution to this problem until writing this answer.
If I need a real time notification then I must use
There is no way to check for server data every period of time from the app only, I can send a
Remote Notification when new data available on server to wake up the app and let it connect to the server.