ForEach(mapView.searchResults, id: .self) { $mapItem in
if let placemark = mapItem.placemark {
Marker(placemark.identify ?? "Place", coordinate: placemark.coordinate) {
ZStack {
Circle()
.fill(Shade.newJColor)
.body(width: 24, peak: 24)
Picture(AppImages.locationIcon.rawValue)
.resizable()
.body(width: 24, peak: 24)
}
}
}
}
UserAnnotation()
}
i’m dealing with this concern i do not know tips on how to do away with this. when i add $mapItem in ForEach() then i confronted this concern and that i precisely do not know tips on how to resolve this. tips on how to report this error and the way did it come. i’m utilizing xcode 15 beta model