Instance Method


Adds the specified annotation to the map view.


- (void)addAnnotation:(id<MKAnnotation>)annotation;



The annotation object to add to the receiver. This object must conform to the MKAnnotation protocol. The map view retains the specified object.

See Also

Annotating the Map


The complete list of annotations associated with the receiver.

- addAnnotations:

Adds an array of annotation objects to the map view.

- removeAnnotation:

Removes the specified annotation object from the map view.

- removeAnnotations:

Removes an array of annotation objects from the map view.

- annotationsInMapRect:

Returns the annotation objects located in the specified map rectangle.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software