Uniquely identifying MKMapItem

38 viewsiosmapkitswift
0

Is there some way to uniquely identify an MKMapItem in MapKit? I am making a ride request app that will prompt the user for airline/terminal when they select a specific airport (there will be multiple airports that I am going to have different airline/terminal options depending on the airport they select). I don’t know how to check which airport the MKMapItem is unless I did something like compare the coordinates or name but I don’t want to do that in case that information is updated/changed for Apple Maps. Any suggestions on best practice here? Thanks