IOS background running type, ios background running type
For iOS background running, a specific type is required. These contents are not constantly changing, and Apple is gradually updating them.
This article describes the background running types supported by Apple in November 03, 2015.
This is the official connection address.
The more important one is the following table. I have come out.
Explanations:
1. Audio Playback and recording;
2. location update;
3. VOIP;
* 4. Background download (pre-update here );
5. Use the External Accessory framework library (usually Bluetooth applications that pass MFI authentication );
6. Bluetooth applications (using the Core Bluetooth framework library );
7. data transmission via Bluetooth (only data in sandbox );
8. Regularly download and process a small amount of network data;
9. Push.
You can configure these types to be written to the program in Capabilities. For example, if you select this option, it is checked by myself, but it is not selected by default ).
In addition:
* 4. Background download (pre-update here );
The app is a newsstand app that downloads and processes the contents of a magazine or newspaper in the background.
For example, you will understand:
For example, Weibo (I Don't Know If weibo does this, but just give me A chestnut). When I click Weibo to view the content (for example, time A), Weibo has loaded and displayed new data, instead of loading the application again after you click Start. And when to load it? That is, before clicking Weibo (such as time B ). So, it is very simple. In this case, time A is later than time B. So how do I know when a user opens Weibo and how do I set the time to B? After reading a lot of information, it is said that the iOS system will automatically count the time when users start Weibo (for example, users often open Weibo, the system automatically sets a period of time to update data (for example, at 09:50 every night ). This call is done by the system, not by our program. It sounds amazing, just like it is true. I have never tested this ···