What location changes are coming in iOS 18

Asked on 08/02/2024

1 search

In iOS 18, several changes are coming to location authorization to improve transparency and control for users. Here are the key updates:

  1. CoreLocation API Enhancements: The CoreLocation API has been updated to make it easier for apps to get latitude and longitude updates and state change events. This includes the introduction of CLLocationUpdate and CLMonitor objects, which present an async sequence interface for these updates.

  2. Simplified Authorization Code: The process of obtaining location authorization has been simplified in Swift, reducing the complexity of the code required to request permissions.

  3. Session Lifecycle Management: New features have been introduced to manage the lifecycle of location-dependent features within an app. This includes creating and holding CLServiceSession objects around feature sessions, ensuring that location services are used efficiently and only when needed.

For more detailed information, you can refer to the session What’s new in location authorization (09:24).

Relevant Sessions