title
The string containing the annotation’s title.
Declaration
optional var title: String? { get }Discussion
Use this optional property to supply a string that the annotation displays in the callout for the associated annotation view. If you specify a detailCalloutAccessoryView object, setting the title isn’t required.