What about background location updates in IOS 18? Any changes from ios 17?
Generated on 7/31/2024
1 search
In iOS 18, there have been several updates to background location updates compared to iOS 17. Here are the key changes:
-
Implicit Service Sessions: iOS 18 introduces implicit service sessions for CoreLocation APIs. This means that when your app iterates live updates or monitor events, it implicitly holds a CL service session. This can simplify your code as you may not need to explicitly manage these sessions (What’s new in location authorization).
-
Session Lifecycle: CoreLocation now ties session life directly to feature spans. This means that if your app is tracking a workout or another long-running task, the session will continue even if the app is suspended or terminated, as long as the task is still relevant (What’s new in location authorization).
-
Authorization Requirements: Always authorization will only be effective when your app is in the foreground. This change means that you need to manage when and how you request location permissions more carefully (What’s new in location authorization).
-
Diagnostic Properties: New diagnostic properties have been added to CL location updates and monitor events. These properties help explain why updates might not be arriving, such as due to accuracy limitations or the device being stationary (What’s new in location authorization).
These updates aim to provide more control and transparency over location services, making it easier to manage background location updates effectively.
Relevant Sessions

What’s new in device management
Learn about the latest management capabilities for iOS, iPadOS, macOS, and visionOS, then discover the latest changes to Apple Business Manager and Apple School Manager. We’ll also share updates to Activation Lock, SoftwareUpdate, and Safari management.

What’s new in location authorization
Location authorization is turning 2.0. Learn about new recommendations and techniques to get the authorization you need, and a new system of diagnostics that can let you know when an authorization goal can’t be met.

What’s new in privacy
At Apple, we believe privacy is a fundamental human right. Learn about new and improved permission flows and other features that manage data in a privacy-preserving way, so that you can focus on creating great app experiences.

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.