Dunfey · Hotel WWDC as data, est. 1983
Front desk everything
Years
Topics

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 ↗

Transcript all transcripts

Code shown on screen · 1 snippet

Getting location updates is easy! swift · at 0:26 ↗
for try await update in CLLocationUpdate.liveUpdates() {
    print("My current location : \(update.location)")
}

Resources