I\'m here because a didn\'t find any solutions for my issue :(
I\'m doing an simple application in which i have to send (by socket) some informations to a server (li
From the Apple docs:
Implementing Long-Running Background Tasks For tasks that require more execution time to implement, you must request specific permissions to run them in the background without their being suspended. In iOS, only specific app types are allowed to run in the background:
- Apps that play audible content to the user while in the background, such as a music player app
- Apps that keep users informed of their location at all times, such as a navigation app
- Apps that support Voice over Internet Protocol (VoIP)
- Newsstand apps that need to download and process new content
- Apps that receive regular updates from external accessories
Unless your app falls into one of these categories (and it sounds like it doesn't), then it won't be able to run while in the background.