<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLBackgroundActivitySession-3mzv3",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "s:12CoreLocation27CLBackgroundActivitySessionC"
  },
  "title" : "CLBackgroundActivitySession"
}
-->

# CLBackgroundActivitySession

An object that manages a visual indicator that keeps your app in use in the background, allowing it to receive updates or events.

```
final class CLBackgroundActivitySession
```

## Overview

Use `CLBackgroundActivitySession` to start a background activity session that allows a when-in-use authorized app to receive location updates or monitoring events.

## Topics

### Creating a background activity session

[`init()`](/documentation/CoreLocation/CLBackgroundActivitySession-3mzv3/init())

Creates a new background activity session.

### Ending the session

[`invalidate()`](/documentation/CoreLocation/CLBackgroundActivitySession-3mzv3/invalidate())

Invalidates the background activity session.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)