Skip to Content
Platform.Ontology

iOS background modes

Xcode background modes (audio, location, VoIP, Bluetooth, fetch, push) decide what can run while closed.

Works without askingNotifications and backgroundiOS backgroundAndroid and iPhoneIn the background

In one line

Can run in the background on iPhone, but only for the kind of job Apple approved

Xcode background modes (audio, location, VoIP, Bluetooth, fetch, push) decide what can run while closed.

Each mode is a narrow exemption tied to a visible use. Using one for something else is an App Review rejection, so the list shows what a company claims to need.

What it can and can't do

What the user does: You start playback, a navigation trip, a call, or connect to a Bluetooth device

It can

  • Keep playing audio after you leave the app, until playback ends
  • Keep tracking location until the app stops it, if you allowed Always
  • Wake up for an incoming call or a Bluetooth event
  • Refresh content now and then when the system decides it is a good time

It cannot

  • Run any task it likes while closed; each mode covers one kind of job
  • Choose when fetch and processing happen, since iOS sets the schedule
  • Run in the background with no capability turned on in the app's setup

How it differs between platforms: Android has no per mode approval. It uses foreground service types and a visible notification instead.

On Android and iPhone

AndroidiPhone
StatusPartialSupported
First versionAndroid 14 (API 34)iOS 4.0
Permission or entitlementFOREGROUND_SERVICE_<TYPE>UIBackgroundModes: audio, location, voip, bluetooth-central, bluetooth-peripheral, fetch, remote-notification, processing, external-accessory, nearby-interaction
Protection levelnormalentitlement
How access is grantedinstallentitlement
What the user seesSee mob.bg.fgs-typesCapability in Xcode
How long it lastsn/aDeclared at build time
How to take it backNot listedNot user visible except Background App Refresh
Store policyPlay: FGS type declarationApp Review 2.5.4: modes only for stated purpose
APIForeground service types as the closest analogInfo.plist UIBackgroundModes
NotesAndroid uses FGS types instead of per-mode entitlementsModes have different run windows: audio until playback ends; location until stopped; fetch and processing as scheduled

Data you get

What comes back: Modes
Shape: list
How often: Build time

FieldTypeUnitRangePrecision
modeslistNone10 typesNot listed

Technical limits

  • Review rejects misuse

The story

What it is

iPhone only lets closed apps keep running for a few approved reasons, like music or navigation.

For you

You see it as the colored bar or dot showing an app is using location or audio. It is why music keeps playing and a run keeps being recorded with the screen off.

For makers

Makers must ask Apple for each mode and show a real need. The list tells reviewers what the app claims to do, and misuse can get an update rejected.

Where you see it

TypeExampleApps
musicA music app keeps playing with the phone locked using the audio mode.Spotify, Apple Music
mapsA navigation app keeps giving turn by turn voice directions in your pocket.Waze, Apple Maps
fitnessA workout app records a bike ride route and heart rate while the screen is off.Strava, Nike Run Club
messagingA calling app wakes the phone for an incoming call using the VoIP mode.WhatsApp, FaceTime
smart-homeA home app stays in touch with a Bluetooth lock so it can unlock as you arrive.August, Yale Access
gamesA multiplayer game uses the audio mode for in game voice chat that keeps going when you switch apps.Discord, Call of Duty Mobile

Risks

  • Some apps stretch a mode to stay alive
  • Hard to tell which apps run in the background

Android and iPhone in short

  • Android: Android uses foreground service types instead of one entitlement per mode.
  • iPhone: Each mode has its own run window, such as until music ends or until location is stopped.

What the platform says

Good uses and abuse

Legitimate uses

  • Navigation
  • Calls

Known abuse

  • Abusing audio or location for keep-alive

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction1 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2010-06, iPhone iOS 4: Multitasking and background modes introduced
  • 2019-09, iPhone iOS 13: VoIP pushes must show a CallKit call

Sources

How well checked: Based on official documentation.

On this page