whats new in corelocation?

Asked on 06/12/2025

1 search

In the WWDC 2024 session titled "What’s new in location authorization," several updates to CoreLocation were introduced:

  1. CL Service Session: A new declarative way to manage location authorization goals. This allows developers to specify what authorization is needed for each feature of their app while it is running. The session object helps manage the lifecycle of these authorizations, even when the app is suspended or terminated.

  2. Diagnostic Properties: A new system of diagnostic properties provides a complete contextual understanding of the app's current authorization state. These properties help identify why an authorization goal cannot be met, such as when a user denies location sharing.

  3. Implicit and Explicit Sessions: CoreLocation now supports implicit service sessions, which are automatically managed when iterating live updates or monitor events. Developers can also create explicit service sessions for more control over when authorization is requested.

  4. Authorization Goals: The session discussed moving from a procedural model to a declarative one for interacting with location authorization, simplifying the process of requesting and managing location permissions.

For more detailed information, you can refer to the session chapter markers: