Relative Content

Tag Archive for iosswiftsirishortcutsappintents

CLLocationManager in AppIntent

I am working on an iOS application for hitchhikers to document their trips. It would be quite convenient to have an iOS Shortcut for creating a record for both pickup and dropoff locations. I am using SwiftUI and SwiftData for this project. The records need to include the current location. Below is my AddTripRecord AppIntent.