Contents

MKAddress

A class that contains a full address, and, optionally, a short address.

Declaration

class MKAddress

Discussion

MapKit capabilities, such as Search and Reverse geocoding, populate the MKAddress of a MKMapItem with a full address, and a short address, if the framework has one.

When presenting a Place Card using an MKMapItemDetailViewController or a selection accessory on an annotation you created using an MKMapItem, MapKit uses the full address provided if you create the MKMapitem using init(location:address:).

Topics

Creating an address

Getting the full and short addresses

See Also

Representing places and addresses