what's new in core location

Asked on 06/12/2025

1 search

At WWDC 2024, Apple introduced several updates to Core Location, particularly focusing on location authorization. Here are the key highlights:

  1. CL Service Session: A new declarative way to manage location authorization goals. It allows you to specify what your app needs for each feature while it is running. This approach moves from a procedural model to a declarative one, simplifying the code and making it more robust.

  2. Implicit Service Sessions: When iterating live updates or monitor events, Core Location can treat these actions as implicitly holding a CL service session. This means you might be able to update your app to handle location authorization by simply deleting some code, as the implicit sessions will manage authorization goals automatically.

  3. Diagnostic Properties: A new system of diagnostic properties provides a complete contextual understanding of the current authorization state and the function of Core Location API objects. These properties help identify why an authorization goal cannot be met, such as when a user denies location sharing.

  4. Session Lifecycle: The lifecycle of sessions is tied to user-facing features, interacting with the app's lifecycle. This ensures that location services are managed efficiently, even when the app is suspended or terminated.

For more detailed information, you can refer to the session titled "What’s new in location authorization" at What’s new in location authorization (00:00:57).