iOS runs in the background and requires a specific type to be available. These things are not always the same, and Apple is gradually updating them.
This article is about the background run type that Apple supported on November 03, 2015.
This is the official connection address.
One of the more important is the following table, which I have come out of.
Explain:
1. Audio playback and recording;
2. Location Update;
3. VOIP;
. Background download (refer to pre-update here);
5. Use the External Accessory framework library (typically a MFI-certified Bluetooth application);
6. Bluetooth application (using the core Bluetooth framework library);
7. Data transmission via Bluetooth (only in the sandbox);
8. Regular downloading and processing of small amount of network data;
9. Push.
These types of applications that need to be written can be configured in capabilities, such as (where the tick is my own hook, not by default).
Other:
. Background download (refer to pre-update here);
The Apple website explains the literal translation: The app is a kiosk app that downloads and handles the content of magazines or newspapers in the background.
Give me a chestnut and we'll see:
such as Weibo (I don't know if Weibo has done this, just for a chestnut), when you click on Weibo to view content (such as time a), the microblog has completed loading new data and displayed it, without having to load it again after clicking to launch the application. And what time does it load? That's before clicking on Weibo (like Time B). Well, very simple, reasonable, according to this, time a will be later than time B. So, how do I know when a user opens a Weibo, and how do I set time B? Read a lot of information, it is said that: The iOS system will automatically count the user to open the Micro-blog time (such as users often opened at 10 o'clock in the evening), then the system will automatically set a period of time in advance to update the data (for example, every 9:50 P.M.). This call is made by the system, not by our program control. It sounds like a tough one, and it's really the same. This thing really hasn't been tested yet ...
IOS Background Run type