2023 App ServicesMaps & Location
WWDC23 · 15 min · App Services / Maps & Location
Discover streamlined location updates
Move into the future with Core Location! Meet the CLLocationUpdate class, designed for modern Swift concurrency, and learn how it simplifies getting location updates. We’ll show you how this class works with your apps when they run in the foreground or background and share some best practices.
Watch at developer.apple.com ↗Code shown on screen · 1 snippet
Getting location updates is easy!
for try await update in CLLocationUpdate.liveUpdates() {
print("My current location : \(update.location)")
} Resources
Related sessions
-
11 min -
16 min