Add MKMapItem to MKannotationview

Hello everyone.


I have an array of MKAnnotationView

NSMutableArray<MKAnnotationView *> *annotationViews;


I would like to add and remove MKMapItem items on this array.

For example:

[_annotationViews replaceObjectAtIndex:0 withObject:item.placemark];

or

[_annotationViews addObject:item];

or

[_annotationViews insertObject:item.placemark atIndex:0]

where item is a MKMapItem.


The above is not working. Is any alternative way to pass MKMapItem items to an MKAnnotationView array?


Regards,