map-item-picker | ios-app-dev-memo
Info > Privacy - Location When In Use Usage Description
swift
import MapItemPicker
https://github.com/lorenzofiamingo/swiftui-map-item-picker
swift
.mapItemPicker(isPresented: $isMapItemPickerShown) { item in
if let name = item?.name {
print("Selected \(name)")
}
}
https://github.com/FiveSheepCo/MapItemPicker
swift
.mapItemPickerSheet(isPresented: $isMapItemPickerShown) { mapItem in
print("Map Item:", mapItem)
}